You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using the smartagent/prometheus-exporter receiver to scape on prometheus federate endpoint.
Getting below error for some of the jobs.
"error": "text format parsing error in line 1767: invalid escape sequence '\u'",
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm using the smartagent/prometheus-exporter receiver to scape on prometheus federate endpoint.
Getting below error for some of the jobs.
"error": "text format parsing error in line 1767: invalid escape sequence '\u'",
it appears caused by \u in the raw data
rest_client_requests_total{job="kubernetes-apiservers",instance="10.0.10.9:6443",code="\u003cerror>",method="POST"} 2 1707787782477
Is there anyway I can work around this? it seems impact received all the metrics in the job group not just the few problematic ones.
receiver config:
smartagent/prometheus-exporter:
- type: prometheus-exporter
host: 10.215.12.35
port: 8481
metricPath: /select/0/prometheus/federate?match[]={job=~"kubernetes-apiservers"}
intervalSeconds: 60
Beta Was this translation helpful? Give feedback.
All reactions