discovery.docker "linux_containers" { host = "unix:///var/run/docker.sock" } loki.source.docker "docker_logs" { host = "unix:///var/run/docker.sock" // Diesen Wert habe ich hinzugefügt targets = discovery.docker.linux_containers.targets forward_to = [loki.write.local_loki.receiver] } loki.write "local_loki" { endpoint { url = "http://loki:3100/loki/api/v1/push" } } prometheus.scrape "node_exporter" { targets = [{"__address__" = "node-exporter:9100"}] forward_to = [prometheus.remote_write.local_prometheus.receiver] } prometheus.remote_write "local_prometheus" { endpoint { url = "http://prometheus:9090/api/v1/write" } }