Hello, i have several prometheus agents doing remote write to another central prometheus Agent. on this central prometheus agent I Do two remote_rewrite to two destinations.
Destination A should receive all metrics, this seems to work. Destination B should only receive metrics from specific jobs. the job names are: windows_exporter node_exporter I tried several combinations but it looks like I still send all metrics to destination B: In the example below there is only destination B. remote_write: - url: "https://prometheus-q.domain.de:9009/api/v1/push" basic_auth: username: "tenant_02" password: "tenant_02" queue_config: min_shards: 3 write_relabel_configs: - source_labels: [job] regex: "node_exporter" action: keep - source_labels: [job] regex: "windows_exporter" action: keep - source_labels: [job] regex: ".*" action: drop -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/f1ac967b-112a-48bc-ac36-5527983bb878n%40googlegroups.com.

