![]() external_labels : monitor : 'my-project' # Load and evaluate rules in this file every 'evaluation_interval' seconds. # Attach these labels to any time series or alerts when communicating with # external systems (federation, remote storage, Alertmanager). # scrape_timeout is set to the global default (10s). evaluation_interval : 120s # By default, scrape targets every 15 seconds. If you are running locally you could use localhost and # my global config global : scrape_interval : 120s # By default, scrape targets every 15 seconds. You only need to change the following environment variables to match the domain for your Raspberry Pi. Labels : - 'traefik.enable=true' - '.rule=PathPrefix(`/grafana`)' - '.=3000' - '=Authorization:-' networks : - pi data/grafana :/var/lib/grafanaĮnvironment : - GF_USERS_ALLOW_SIGN_UP=false Grafana : image : grafana/grafana :latest Privileged : true restart : unless -stopped Node-exporter : image : prom/node -exporter :latestĬontainer_name : monitoring_node_exporterĬadvisor : image : braingamer/cadvisor -arm :latest data/prometheus/config :/etc/prometheus/Ĭommand : - '-config.file=/etc/prometheus/prometheus.yml' - '=/prometheus' expose : - 9090 links : - cadvisor :cadvisor Version : '3.4' services : prometheus : image : prom/prometheus :latest
0 Comments
Leave a Reply. |