I am new to OTLP. I’m encountering an issue while trying to collect metrics from a node using Prometheus and visualize them in Grafana. I am able to access metrics via localhost:9100 in browser.
please find otel_collector.conf :
enter image description here
Below is the error message I’m encountering:
2024-05-02 13:07:35 2024-05-02T07:37:35.151Z warn internal/transaction.go:123 Failed to scrape Prometheus endpoint {“kind”: “receiver”, “name”: “prometheus”, “data_type”: “metrics”, “scrape_timestamp”: 1714635455149, “target_labels”: “{name=”up”, instance=”localhost:9100″, job=”node”}”}
Any insights or suggestions on resolving this issue would be greatly appreciated. Thank you!
I am trying to collect metrics from a node running node_exporter on localhost:9100 and visualize these metrics in Grafana.
Maheshwari Yergude is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.