Hi Team,
I just want to drop the metrics from federation instnace
by enabling the relabel concept but its not success
the sample metrics is
up{container="prometheus", endpoint="9090", exported_exported_exported_exported_exported_instance="20.xxxxx......}
up{container="prometheus", endpoint="9090", exported_instance="20.xxxxxxx.................}
I dont want to see this metrics which is having more than 1-time exported_exported_.* i need the metrics which contain only exported_instance label
I have tries this
- job_name: "aws-prometheus"
metrics_path: '/federate'
honor_timestamps: true
scrape_interval: 30s
scrape_timeout: 10s
params:
'match[]':
- '{job=~".*"}'
relabel_configs:
- source_labels: [__name__]
regex: (exported_exported_.*)
action: drop
static_configs: