Hi guys,
I am new to both Grafana and Prometheus.
I am using Grafana 10.2.3 on MacOS (Ventura 13.2.1), with Prometheus 2.49.1
I am trying to connect a new Prometheus datasource from a custom exporter.
I was abled to successfully create a datasource from the default Prometheus job.
I am trying to do the same with a custom exporter and I have added a new scrape_config to the prometheus.yml as follows.
- job_name: “test”
static_configs:- targets: [“localhost:64502”]
However when I try to do add it as a data source and try to save and test, I get the following error.
ReadObject: expect { or , or } or n, but found #, error found in #1 byte of …|# HELP pyth|…, bigger context …|# HELP python_gc_objects_collected_total Objects co|… - There was an error returned querying the Prometheus API.
I can provide more details if needed.
Can you please help me figure out what I am doing wrong?
Thanks in advance!