i have deployed a prometheus server A to federate from another prometheus server B.
config file like below:
- job_name: ‘get_cadvisor’
scrape_interval: 300s
scrape_timeout: 300s
honor_labels: true
metrics_path: ‘/federate’
params:
‘match’:
- ‘{job=“cadvisor”}’
static_configs:- targets:
- ‘x.x.x.x:xxxx’
- targets:
but i found the error – “expected label name, got “INVALID”” in the prometheus targets . how can i slove the problems ?