Hello all,
I have an issue with a Prometheus endpoint that gives some errors upon scraping.
I have annotated the pod for scraping and tested the scraping endpoint from inside the container and is working fine.
This is the warning that the nri-prometheus agent is throwing:
time=“2022-05-26T14:53:29Z” level=warning msg=“fetching Prometheus metrics: http://10.124.3.5:8024/actuator/prometheus (axonserver-0-0)” component=Fetcher error=“text format parsing error in line 189: invalid escape sequence '\”’"
time=“2022-05-26T14:53:29Z” level=warning msg=“error while scraping target” component=Fetcher error=“text format parsing error in line 189: invalid escape sequence '\”’"
Any idea what may have cause this?
Thanks!