Hey guys im trying to basically drop a specific metric from a job that has 
a couple of instances but keep it only for one instance is this possible? 

i tried something like this but its not working. 

      metric_relabel_configs:
        # Drop the specific metric from all instances except primary
        - source_labels: [instance_name, __name__]
          regex: '!^primary-00,mysql_info_schema_table_size'
          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/46d8e23e-17b0-4f63-96cc-b8c5be3a2251n%40googlegroups.com.

Reply via email to