Commit e09eac42 authored by kaiyou's avatar kaiyou

Update the prometheus config

parent d1d46177
......@@ -7,8 +7,7 @@ services:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- ./data:/prometheus
extra_hosts:
- "helvet: 2001:bc8:212d:f00::1"
- "joke: 2001:bc8:212d:f00::2"
- "phobos: ${ipv6}"
loki:
image: grafana/loki:latest
......@@ -57,7 +56,7 @@ networks:
ipam:
driver: default
config:
- subnet: "${prefix}/64"
- subnet: "${prefix}/80"
gateway: "${prefix}1"
......@@ -15,11 +15,11 @@ scrape_configs:
- job_name: 'node'
static_configs:
- targets: ['helvet:7001', 'joke:7001']
- targets: ['phobos:7001']
- job_name: 'cadvisor'
static_configs:
- targets: ['helvet:7002', 'joke:7002']
- targets: ['phobos:7002']
metric_relabel_configs:
- source_labels: ['container_label_com_docker_compose_project']
target_label: app
......@@ -30,7 +30,7 @@ scrape_configs:
- job_name: 'traefik'
static_configs:
- targets: ['helvet:7003', 'joke:7003']
- targets: ['phobos:7003']
- job_name: 'matrix'
metrics_path: "/_synapse/metrics"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment