{"id":37016414,"url":"https://github.com/timo-reymann/enhanced-diagnostics-spring-boot-starter","last_synced_at":"2026-01-14T01:51:20.292Z","repository":{"id":57723641,"uuid":"142007145","full_name":"timo-reymann/enhanced-diagnostics-spring-boot-starter","owner":"timo-reymann","description":"Starter for enhanced diagnostics based on java lib","archived":true,"fork":false,"pushed_at":"2018-10-05T10:54:26.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-20T03:33:08.841Z","etag":null,"topics":["boot","enhanced-diagnostics","java","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","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/timo-reymann.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}},"created_at":"2018-07-23T11:50:09.000Z","updated_at":"2023-01-28T19:39:46.000Z","dependencies_parsed_at":"2022-08-29T23:00:58.359Z","dependency_job_id":null,"html_url":"https://github.com/timo-reymann/enhanced-diagnostics-spring-boot-starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/timo-reymann/enhanced-diagnostics-spring-boot-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timo-reymann%2Fenhanced-diagnostics-spring-boot-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timo-reymann%2Fenhanced-diagnostics-spring-boot-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timo-reymann%2Fenhanced-diagnostics-spring-boot-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timo-reymann%2Fenhanced-diagnostics-spring-boot-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timo-reymann","download_url":"https://codeload.github.com/timo-reymann/enhanced-diagnostics-spring-boot-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timo-reymann%2Fenhanced-diagnostics-spring-boot-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["boot","enhanced-diagnostics","java","spring"],"created_at":"2026-01-14T01:51:17.886Z","updated_at":"2026-01-14T01:51:20.287Z","avatar_url":"https://github.com/timo-reymann.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"enhanced-diagnostics-spring-boot-starter\n===\n\nDrop-in starter for enhanced-diagnostics starter\n\n## Add to your depencies\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.timo-reymann\u003c/groupId\u003e\n    \u003cartifactId\u003eenhanced-diagnostics-spring-boot-starter\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\nDrop in the dependency, and override the default bean, and there you go!\n\n```java\n@Bean \npublic ReportProcessorBean() {\n    return new ReportProcessorBean() {\n        @Override\n        public void process(Report report) {\n            // Process your report, as you like\n        }\n    };\n}\n```\n\nOn your frontend you can get the public key via ``/report/publicKey`` in pem format.\n\n## Frontend example\n```html\n\u003cscript src=\"https://unpkg.com/enhanced-diagnostics@1.1.0/dist/main.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    const logger = new DatabaseLogger('db', 1);\n    const reporter = new LogReporter(logger);\n    \n    console.log(\"This will be transmitted\");\n\n    fetch(\"/report/publicKey\", {\n        headers: {\n            'Content-Type': 'application/json',\n            'Accept': 'application/json'\n        }\n    })\n    .then(r =\u003e r.json()) // Parse json\n    .then(data =\u003e { // Get public key\n        const key = data.publicKey\n        reporter.buildReportChunks(key).then(chunks =\u003e { // Submit report\n            fetch(\"/report\", {\n                method: 'POST',\n                headers: {\n                    'Content-Type': 'application/json',\n                    'Accept': 'application/json'\n                },\n                body: chunks\n            })\n        })\n    });\n\u003c/script\u003e\n```\n\n## Customize\n```yaml \nenhanced-diagnostics:\n    route-prefix: /customReportPath\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimo-reymann%2Fenhanced-diagnostics-spring-boot-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimo-reymann%2Fenhanced-diagnostics-spring-boot-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimo-reymann%2Fenhanced-diagnostics-spring-boot-starter/lists"}