Skip to content

expressions and labels #13121

Closed Answered by agilgur5
static-moonlight asked this question in Q&A
May 30, 2024 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

That's why I'm using Kubernetes labels as a global variable to make that info available where I need it. I admit, it's hacky, and not entirely clean, it's pure desperation.

IMO, I would just report both and then do subtraction in your metrics queries if you really need to. That would be substantially less hacky and would make sense for metrics; they're all counters and some overlap

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@static-moonlight
Comment options

@agilgur5
Comment options

@static-moonlight
Comment options

@agilgur5
Comment options

Answer selected by static-moonlight
@static-moonlight
Comment options

@agilgur5
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/templating Templating with `{{...}}`
2 participants