{"id":17308696,"url":"https://github.com/pasdam/docker-stack-grafana-prometheus","last_synced_at":"2026-05-05T23:34:18.338Z","repository":{"id":92276554,"uuid":"256477425","full_name":"pasdam/docker-stack-grafana-prometheus","owner":"pasdam","description":"Basic setup with docker-compose of Grafana using Prometheus to publish metrics","archived":false,"fork":false,"pushed_at":"2020-04-18T12:47:49.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T00:15:36.241Z","etag":null,"topics":["docker","docker-compose","grafana","metrics","prometheus","prometheus-client","statsd","statsd-client","telegraf"],"latest_commit_sha":null,"homepage":null,"language":null,"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/pasdam.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":"2020-04-17T10:53:14.000Z","updated_at":"2020-04-19T06:48:39.000Z","dependencies_parsed_at":"2023-06-08T06:15:36.200Z","dependency_job_id":null,"html_url":"https://github.com/pasdam/docker-stack-grafana-prometheus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pasdam/docker-stack-grafana-prometheus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasdam%2Fdocker-stack-grafana-prometheus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasdam%2Fdocker-stack-grafana-prometheus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasdam%2Fdocker-stack-grafana-prometheus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasdam%2Fdocker-stack-grafana-prometheus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pasdam","download_url":"https://codeload.github.com/pasdam/docker-stack-grafana-prometheus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasdam%2Fdocker-stack-grafana-prometheus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"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":["docker","docker-compose","grafana","metrics","prometheus","prometheus-client","statsd","statsd-client","telegraf"],"created_at":"2024-10-15T12:05:48.950Z","updated_at":"2026-05-05T23:34:18.325Z","avatar_url":"https://github.com/pasdam.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus-Grafana metrics stack\n\nThis repo contains a basic setup of a [Grafana](https://grafana.com/) instance\nusing [Prometheus](https://prometheus.io/) as data source.\n\nMetrics are exposed to Prometheus using\n[Telegraf](https://www.influxdata.com/time-series-platform/telegraf/).\n\nThere's also an alterative agent,\n[statsD-exporter](https://github.com/prometheus/statsd_exporter), to expose\nmetrics.\n\n## Setup\n\nSpin up the component with:\n\n```sh\ndocker-compose up\n```\n\nOpen [Grafana](http://localhost:3000), and login (the default credentials are\n`admin`/`admin`), you will be asked to change the password at the first access,\nbut for local/test setup is possible to skip that step.\n\nNext step it to add a data source to pull metrics from. Go to\n`Settings \u003e Data sources`, and add a new Prometheus one. The only thing to\nspecify is the url, [http://prometheus:9090](http://prometheus:9090), leave the\nrest as default and click on `Save and test`.\n\nAt this point it's possible to import Prometheus default dashboards, opening the\nnewly created data source, and click on the import button on each row in the\n`Dashboards` tab.\n\nLast thing to do is to import our example dashboard: for this just import\n[dashboard.json](grafana/dashboard.json). Note: if you used a custom name for\nthe data source, you have to edit the file to update the `datasource` property\nof each panel.\n\n## Persistence\n\nBoth Grafana and Prometheus data are persisted on the local filesystem, as the\n`volumes/data` subfolder of each component is mounted as volume in the compose\nfile.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasdam%2Fdocker-stack-grafana-prometheus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpasdam%2Fdocker-stack-grafana-prometheus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasdam%2Fdocker-stack-grafana-prometheus/lists"}