From d139e6f1f8a9951ad508f50aa7a9b44e01b773cd Mon Sep 17 00:00:00 2001 From: DoTheEvolution Date: Mon, 27 Apr 2020 23:43:14 +0200 Subject: [PATCH] update --- prometheus_grafana/dashboards/docker_containers.json | 2 +- prometheus_grafana/dashboards/docker_host.json | 2 +- prometheus_grafana/dashboards/monitoring_services.json | 2 +- prometheus_grafana/readme.md | 10 ++++++---- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/prometheus_grafana/dashboards/docker_containers.json b/prometheus_grafana/dashboards/docker_containers.json index 357b73a..9589e7c 100644 --- a/prometheus_grafana/dashboards/docker_containers.json +++ b/prometheus_grafana/dashboards/docker_containers.json @@ -1228,7 +1228,7 @@ } ], "time": { - "from": "now-15m", + "from": "now-1h", "to": "now" }, "timepicker": { diff --git a/prometheus_grafana/dashboards/docker_host.json b/prometheus_grafana/dashboards/docker_host.json index ccab193..a6beef7 100644 --- a/prometheus_grafana/dashboards/docker_host.json +++ b/prometheus_grafana/dashboards/docker_host.json @@ -1399,7 +1399,7 @@ } ], "time": { - "from": "now-15m", + "from": "now-1h", "to": "now" }, "timepicker": { diff --git a/prometheus_grafana/dashboards/monitoring_services.json b/prometheus_grafana/dashboards/monitoring_services.json index 4c8bafa..00df64a 100644 --- a/prometheus_grafana/dashboards/monitoring_services.json +++ b/prometheus_grafana/dashboards/monitoring_services.json @@ -3370,7 +3370,7 @@ } ], "time": { - "from": "now-15m", + "from": "now-1h", "to": "now" }, "timepicker": { diff --git a/prometheus_grafana/readme.md b/prometheus_grafana/readme.md index b1a37d1..712c60b 100644 --- a/prometheus_grafana/readme.md +++ b/prometheus_grafana/readme.md @@ -73,8 +73,6 @@ services: user: root depends_on: - cadvisor - ports: - - "9090:9090" command: - '--config.file=/etc/prometheus/prometheus.yml' - '--storage.tsdb.path=/prometheus' @@ -249,6 +247,9 @@ providers: * grafana/provisioning/dashboards/**** * [official documentation](https://grafana.com/docs/grafana/latest/reference/dashboard/) +In [the dashboards](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/prometheus_grafana/dashboards) +directory of this repository. + Preconfigured dashboards from the prodigious [stefanprodan/dockprom](https://github.com/stefanprodan/dockprom).
Mostly unchanged, except for the default time range shown changed from 15min to 1 hour, @@ -268,8 +269,7 @@ details [here](https://github.com/DoTheEvo/Caddy-v2-examples) The setup is accessed through grafana. But occasionally there might be need to check with prometheus, -which will be available on \:9090, -assuming port 9090 is kept mapped in the compose file. +which will be available on \:9090. `Caddyfile` ``` @@ -282,6 +282,8 @@ grafana.{$MY_DOMAIN} { } ``` +*Extra info:* `:9000` is short notation for `localhost:9000` + --- ![interface-pic](https://i.imgur.com/RrK29wC.png)