{"id":26800403,"url":"https://github.com/nimalank7/spring-boot-prometheus","last_synced_at":"2025-03-29T20:17:03.459Z","repository":{"id":282929745,"uuid":"950108073","full_name":"nimalank7/spring-boot-prometheus","owner":"nimalank7","description":"Repository to learn about integration with Prometheus","archived":false,"fork":false,"pushed_at":"2025-03-17T17:31:09.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T18:29:54.903Z","etag":null,"topics":["java","learning","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nimalank7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-03-17T16:36:01.000Z","updated_at":"2025-03-17T17:31:12.000Z","dependencies_parsed_at":"2025-03-17T18:40:02.084Z","dependency_job_id":null,"html_url":"https://github.com/nimalank7/spring-boot-prometheus","commit_stats":null,"previous_names":["nimalank7/spring-boot-prometheus"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimalank7%2Fspring-boot-prometheus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimalank7%2Fspring-boot-prometheus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimalank7%2Fspring-boot-prometheus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimalank7%2Fspring-boot-prometheus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nimalank7","download_url":"https://codeload.github.com/nimalank7/spring-boot-prometheus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246237437,"owners_count":20745348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["java","learning","spring"],"created_at":"2025-03-29T20:17:02.974Z","updated_at":"2025-03-29T20:17:03.453Z","avatar_url":"https://github.com/nimalank7.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Micrometer\n\nSpring Boot application that increments a counter when user visits `GET /message`.\n\nMicrometer is a facade that is used to integrate Spring Boot Actuator metrics with external monitoring systems like Prometheus.\n\n# How it works\n## Counter\n- Metrics endpoint is exposed on `/actuator/prometheus:8080` with job name as `spring-actuator` that increments a counter upon each visit\n- Metric is `http_server_requests_seconds_count{exception=\"None\", instance=\"host.docker.internal:8080\", job=\"spring-actuator\", method=\"GET\", outcome=\"SUCCESS\", status=\"200\", uri=\"/message\"}`\n\n## Prometheus\n- Prometheus exposes its own metrics on `/metrics:9090` with job name as `prometheus`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimalank7%2Fspring-boot-prometheus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimalank7%2Fspring-boot-prometheus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimalank7%2Fspring-boot-prometheus/lists"}