docs icon indicating copy to clipboard operation
docs copied to clipboard

Prometheus remote write write_relabel_configs not working

Open sunidhi271 opened this issue 3 years ago • 0 comments

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 ? image

#prometheus #remoteWrite

sunidhi271 avatar Sep 12 '22 01:09 sunidhi271