Skip to content

How to ensure that linkerd-proxy metrics are scraped from ephemeral pods? #5435

Answered by adleong
alexklibisz asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know of any "best practices" for this particular scenario. Is it possible to wrap your job application in a script that sleeps for a period (at least one prometheus scrape interval) after the main process completes? This way the pod should remain alive long enough to get scraped. Just an idea to try.

There is no way currently to get source labels for inbound metrics. See #4101

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alexklibisz
Comment options

Answer selected by alexklibisz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants