Hi Team,
Below is the configuration done to monitor few targets of APIGEE customer.
The IP with 10.2.0.* is the target IP, whereas 10.2.3.17 is the node
exporter IP from where its scraping the metrics. Whenever we are receiving
the alerts its coming with node exporter IP , we want the exact host name
or IP to be displayed in the alert. Any suggestions
- job_name: 'apigeenode'
static_configs:
- targets:
- http://10.2.3.17:8080/10.2.0.85
- http://10.2.3.17:8080/10.2.0.86
- http://10.2.3.17:8080/10.2.0.87
- http://10.2.3.17:8080/10.2.0.101
- http://10.2.3.17:8080/10.2.0.102
- http://10.2.3.17:8080/10.2.0.103
- http://10.2.3.17:8080/10.2.0.117
- http://10.2.3.17:8080/10.2.0.118
- http://10.2.3.17:8080/10.2.0.119
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 10.2.3.17:8080
--
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/3f3c4690-8787-4abe-a2ca-41bfcb765a26o%40googlegroups.com.