I am trying to import and use the full node exporter dashboard.
I am using ec2
autodiscovery on prometheus
since I am monitoring some AWS instances; my configuration is the following:
# EC2 Jobs
- job_name: 'ec2-nodes'
ec2_sd_configs:
- region: eu-west-1
access_key: XXXXXXXXXXXXXXXXXXX
secret_key: XXXXXXXXXXXXXXXXXXXXXXXXX
port: 9100
relabel_configs:
- source_labels: [__meta_ec2_tag_Monitored]
regex: PrometheusProduction.*
action: keep
- source_labels: [__meta_ec2_private_ip]
regex: '(.*)'
target_label: __address__
replacement: '${1}:9100'
- source_labels: [__meta_ec2_tag_Name]
regex: '(.*)'
target_label: instance
replacement: '${1}'
I have tried to use __address__
in the place of node
in the variables section, but with no luck.
Is this an issue with my relabeling?
Thx.