docs
docs copied to clipboard
Prometheus remote write write_relabel_configs not working
I want to only remote write metrices only with some specific names. The following is my remoteWrite configuration - ` remoteWrite:
- queue_config:
capacity: 20000
max_samples_per_send: 10000
max_shards: 30
tlsConfig:
insecureSkipVerify: true
url: http://vminsert.
/insert/0/prometheus write_relabel_configs: - action: keep regex: "(.*)vm_(.*)|kube_pod_status_phase|kubelet_volume_stats_capacity_bytes" source_labels: [name] `
I want to write only the metrices mentioned in regex. But it is remote writing each and every metrices to Victoria Metrices. Where am I going wrong ?

#prometheus #remoteWrite