How to debug scraping #2058
Unanswered
david-pusch-protofy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I'm coming to you with a problem that keeps bugging me, namely the issue of debugging what the agent is doing (or not doing) when used to scrape metrics to forward to a prometheus.
My particular issue is that I'm running a pod that has all the right annotations (at least as per my understanding), but nothing gets scraped.
When I curl the path I'm seeing prometheus style metrics. And debugging this feels like a very extensive game of trial and error, so I'm wondering if there is a better way to get some info out of the agent.
For reference, here's the annotations:
and here's the job config:
Beta Was this translation helpful? Give feedback.
All reactions