{"id":20189387,"url":"https://github.com/robsonbittencourt/monitoring-micrometer","last_synced_at":"2025-04-10T07:51:43.066Z","repository":{"id":68552430,"uuid":"262701381","full_name":"robsonbittencourt/monitoring-micrometer","owner":"robsonbittencourt","description":"Docker Compose help file to monitoring existent micrometer metrics in localhost","archived":false,"fork":false,"pushed_at":"2025-01-20T15:31:47.000Z","size":211,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T08:06:52.619Z","etag":null,"topics":["docker-compose","grafana","micrometer","monitoring","prometheus","springboot"],"latest_commit_sha":null,"homepage":"","language":null,"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/robsonbittencourt.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}},"created_at":"2020-05-10T03:02:46.000Z","updated_at":"2025-01-20T16:26:58.000Z","dependencies_parsed_at":"2023-04-05T09:57:18.075Z","dependency_job_id":null,"html_url":"https://github.com/robsonbittencourt/monitoring-micrometer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonbittencourt%2Fmonitoring-micrometer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonbittencourt%2Fmonitoring-micrometer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonbittencourt%2Fmonitoring-micrometer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonbittencourt%2Fmonitoring-micrometer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robsonbittencourt","download_url":"https://codeload.github.com/robsonbittencourt/monitoring-micrometer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248182021,"owners_count":21060891,"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":["docker-compose","grafana","micrometer","monitoring","prometheus","springboot"],"created_at":"2024-11-14T03:36:35.514Z","updated_at":"2025-04-10T07:51:43.048Z","avatar_url":"https://github.com/robsonbittencourt.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monitoring Micrometer\n\n\u003e Docker Compose help file to monitoring existent micrometer metrics in localhost\n\n## Motivation\nThe goal of this project is to create an instance of [Prometheus](https://prometheus.io/) and one of [Grafana](https://grafana.com/) to monitor a [Spring Boot](https://spring.io/projects/spring-boot) application that exposes its metrics with [Micrometer](https://micrometer.io/).\n\nThe project was designed to monitoring the application locally during development. No type of configuration or optimization was done in this setup.\n\n## Prerequisite\nRun a Springboot application locally that exposes your metrics at http://localhost:8080/metrics or http://localhost:9090/metrics.\n\nIf your applications runs on another port you need to adjust this configuration in [this configuration file](prometheus/prometheus.yml).\n\n## Running\n\n```\ngit clone git@github.com:robsonbittencourt/monitoring-micrometer.git\n\ncd monitoring-micrometer\n\ndocker-compose up -d\n```\n\nGo to http://localhost:3000 to access Grafana and click on the dashboard JVM Micrometer. The dashboard below will be displayed. Thanks to [Michael Weirauch](https://github.com/mweirauch) for the [Grafana dashboard](https://grafana.com/grafana/dashboards/4701)\n\n![dashboard](dashboard.png)\n\n## Micrometer Example\n\nIf you don't have an micrometer project but want test this you can use [this example project](https://github.com/robsonbittencourt/prometheus-micrometer-example).\n\n```\ndocker run \\\n    -p 8080:8080 \\\n    -p 9090:9090 \\\n    --name prometheus-micrometer-example \\\n    robsonbittencourt/prometheus-micrometer-example\n```    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobsonbittencourt%2Fmonitoring-micrometer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobsonbittencourt%2Fmonitoring-micrometer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobsonbittencourt%2Fmonitoring-micrometer/lists"}