{"id":23069352,"url":"https://github.com/lhsradek/platypus-prometheus","last_synced_at":"2026-05-04T10:40:27.529Z","repository":{"id":83956246,"uuid":"604734146","full_name":"lhsradek/platypus-prometheus","owner":"lhsradek","description":"Prometheus monitoring + Grafana","archived":false,"fork":false,"pushed_at":"2024-05-05T02:10:36.000Z","size":2718,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T23:23:17.642Z","etag":null,"topics":["grafana","httpd","metrics","monitoring","nginx","postgresql","prometheus","tomcat","wildfly"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/lhsradek.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-02-21T17:18:05.000Z","updated_at":"2024-05-05T02:10:39.000Z","dependencies_parsed_at":"2024-05-04T04:32:36.047Z","dependency_job_id":"60ed7fbf-bc67-4faf-9a03-ccd23c7b4f97","html_url":"https://github.com/lhsradek/platypus-prometheus","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/lhsradek%2Fplatypus-prometheus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lhsradek%2Fplatypus-prometheus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lhsradek%2Fplatypus-prometheus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lhsradek%2Fplatypus-prometheus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lhsradek","download_url":"https://codeload.github.com/lhsradek/platypus-prometheus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246981136,"owners_count":20863825,"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":["grafana","httpd","metrics","monitoring","nginx","postgresql","prometheus","tomcat","wildfly"],"created_at":"2024-12-16T06:14:47.122Z","updated_at":"2026-05-04T10:40:22.504Z","avatar_url":"https://github.com/lhsradek.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Platypus Prometheus + Grafana\n\n\u003cp\u003e\n\u003cimg src=\"png/Platypus_as_computer_metrics_watcher_by_Prometheus.png\" width=\"400px\" height=\"400px\"/\u003e\n\u003c/p\u003e\n\n## Setup\n\n1) create .env file ```cp .env.dist .env```\n\n2) create index.html ```cp application/html/index.html.orig application/html/index.html``` That's because I'm using different ports\n\n3) run docker ```./bin/start```\n\n4) Set Data sources in Grafana to Prometheus ```http://host.docker.internal:9090``` or try ```ip addr show docker0```\n\n5) Import Dashboard **Prometheus 2.0 Stats** to Grafana\n\n6) restart docker ```./bin/restart```\n```\n================= STOP =================\nStopping www-monitor-grafana           ... done\nStopping www-monitor-prometheus        ... done\nStopping www-monitor-nginx-exporter    ... done\nStopping www-monitor-postgres          ... done\nStopping www-monitor-tomcat-exporter   ... done\nStopping www-monitor-tomcat            ... done\nStopping www-monitor-postgres-exporter ... done\nStopping www-monitor-wildfly           ... done\nStopping www-monitor-nginx             ... done\nStopping www-monitor-httpd-exporter    ... done\nStopping www-monitor-httpd             ... done\nRemoving www-monitor-grafana           ... done\nRemoving www-monitor-prometheus        ... done\nRemoving www-monitor-nginx-exporter    ... done\nRemoving www-monitor-postgres          ... done\nRemoving www-monitor-tomcat-exporter   ... done\nRemoving www-monitor-tomcat            ... done\nRemoving www-monitor-postgres-exporter ... done\nRemoving www-monitor-wildfly           ... done\nRemoving www-monitor-nginx             ... done\nRemoving www-monitor-httpd-exporter    ... done\nRemoving www-monitor-httpd             ... done\nNetwork monitor.local is external, skipping\n================= START =================\nCreating www-monitor-postgres          ... done\nCreating www-monitor-wildfly           ... done\nCreating www-monitor-httpd-exporter    ... done\nCreating www-monitor-tomcat            ... done\nCreating www-monitor-tomcat-exporter   ... done\nCreating www-monitor-postgres-exporter ... done\nCreating www-monitor-nginx             ... done\nCreating www-monitor-httpd             ... done\nCreating www-monitor-prometheus        ... done\nCreating www-monitor-grafana           ... done\nCreating www-monitor-nginx-exporter    ... done\n```\n\n7) stop docker ```./bin/stop```\n\nUser **1001** will write to the directories **./data/prometheus** and **./data/grafana**  so it needs rights to those directories.\n\nWe monitor (with platypus) httpd, nginx, postgres, prometheus, tomcat and wildfly.\n\nSee:\n* [prometheus](https://github.com/lhsradek/platypus-prometheus/blob/main/png/prometheus.png)\n* [grafana](https://github.com/lhsradek/platypus-prometheus/blob/main/png/grafana.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flhsradek%2Fplatypus-prometheus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flhsradek%2Fplatypus-prometheus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flhsradek%2Fplatypus-prometheus/lists"}