{"id":40023467,"url":"https://github.com/kohkimakimoto/echo-debugmonitor","last_synced_at":"2026-01-19T03:34:40.584Z","repository":{"id":324689297,"uuid":"683551434","full_name":"kohkimakimoto/echo-debugmonitor","owner":"kohkimakimoto","description":"A debugging and monitoring dashboard for Go applications using the Echo web framework.","archived":false,"fork":false,"pushed_at":"2025-11-17T09:54:32.000Z","size":395,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-17T11:24:03.390Z","etag":null,"topics":["go","golang","labstack-echo"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kohkimakimoto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-26T23:53:31.000Z","updated_at":"2025-11-17T09:34:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kohkimakimoto/echo-debugmonitor","commit_stats":null,"previous_names":["kohkimakimoto/echo-debugmonitor"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kohkimakimoto/echo-debugmonitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kohkimakimoto%2Fecho-debugmonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kohkimakimoto%2Fecho-debugmonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kohkimakimoto%2Fecho-debugmonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kohkimakimoto%2Fecho-debugmonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kohkimakimoto","download_url":"https://codeload.github.com/kohkimakimoto/echo-debugmonitor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kohkimakimoto%2Fecho-debugmonitor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28560487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","labstack-echo"],"created_at":"2026-01-19T03:34:40.528Z","updated_at":"2026-01-19T03:34:40.573Z","avatar_url":"https://github.com/kohkimakimoto.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Echo Debug Monitor\n\n[![test](https://github.com/kohkimakimoto/echo-debugmonitor/actions/workflows/test.yml/badge.svg)](https://github.com/kohkimakimoto/echo-debugmonitor/actions/workflows/test.yml)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/kohkimakimoto/echo-debugmonitor/blob/master/LICENSE)\n[![Go Reference](https://pkg.go.dev/badge/github.com/kohkimakimoto/echo-debugmonitor.svg)](https://pkg.go.dev/github.com/kohkimakimoto/echo-debugmonitor)\n\n**This repository is still under active development. Documentation is incomplete and breaking changes may occur.**\n\nA debugging and monitoring dashboard for Go applications using the [Echo](https://echo.labstack.com/) web framework.\nProvides real-time visibility into application behavior through multiple specialized monitors.\n\n![](https://raw.githubusercontent.com/kohkimakimoto/echo-debugmonitor/main/images/screenshot.png)\n\n\u003e [!WARNING]\n\u003e This tool is intended for debugging and development purposes only. **Do not activate it in production environments** as it may expose sensitive information and impact performance.\n\n## Getting Started\n\n### Installation\n\n```bash\ngo get github.com/kohkimakimoto/echo-debugmonitor\n```\n\n### Basic Usage\n\nHere's a simple example to get started with Echo Debug Monitor:\n\n```go\npackage main\n\nimport (\n    \"github.com/labstack/echo/v4\"\n    debugmonitor \"github.com/kohkimakimoto/echo-debugmonitor\"\n    \"github.com/kohkimakimoto/echo-debugmonitor/monitors\"\n)\n\nfunc main() {\n    e := echo.New()\n\n    // Create the debug monitor manager\n    m := debugmonitor.New()\n\n    // Add requests monitor\n    requestsMonitor, requestsMonitorMiddleware := monitors.NewRequestsMonitor(\u0026monitors.RequestsMonitorConfig{\n        Skipper: func(c echo.Context) bool {\n            return c.Path() == \"/monitor\" // Skip monitoring the monitor endpoint itself\n        },\n    })\n    e.Use(requestsMonitorMiddleware)\n    m.AddMonitor(requestsMonitor)\n\n    // Add logs monitor\n    logsMonitor, wrappedLogger := monitors.NewLogsMonitor(monitors.LogsMonitorConfig{\n        Logger: e.Logger,\n    })\n    e.Logger = wrappedLogger\n    m.AddMonitor(logsMonitor)\n\n    // Register the dashboard route\n    e.GET(\"/monitor\", m.Handler())\n\n    // Your application routes\n    e.GET(\"/\", func(c echo.Context) error {\n        e.Logger.Info(\"Home page accessed\")\n        return c.String(200, \"Hello, World!\")\n    })\n\n    e.Start(\":8080\")\n}\n```\n\nThen access the monitoring dashboard at `http://localhost:8080/monitor`.\n\n## Monitors\n\nMonitors are the core units in Echo Debug Monitor. Each monitor tracks a specific aspect of your application and displays it in the dashboard.\n\nA monitor is an independent component that:\n- Captures specific types of data (requests, logs, errors, etc.)\n- Stores captured data in an in-memory buffer.\n- Provides a real-time view in the web interface\n\nEach monitor operates independently and can be added or removed.\nYou can also implement custom monitors for your specific needs.\n\n## Built-in Monitors\n\nEcho Debug Monitor includes several ready-to-use monitors in the `github.com/kohkimakimoto/echo-debugmonitor/monitors` package:\n\n- **Requests Monitor**: Tracks incoming HTTP requests, response statuses, latencies, etc.\n- **Logs Monitor**: Captures application logs and displays them in real-time.\n- **Writer Monitor**: Monitors output written to `io.Writer` interfaces.\n- **Errors Monitor**: Records application errors and stack traces.\n- **Queries Monitor**: Tracks database queries.\n\n## Implementing Custom Monitors\n\nWIP\n\n## License\n\nThe MIT License (MIT)\n\n## Author\n\nKohki Makimoto \u003ckohki.makimoto@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkohkimakimoto%2Fecho-debugmonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkohkimakimoto%2Fecho-debugmonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkohkimakimoto%2Fecho-debugmonitor/lists"}