Closed code-crusher closed 1 year ago
Sounds like you want to be pushing those particular metric series to a prometheus push gateway, which exposes the latest value of the metric series, rather than to a prometheus aggregation gateway
Thanks for the quick response @SpangleLabs!
Yeah, I probably went down a wrong rabbit hole here. My understanding was this aggregation can merge multiple tasks in microservices, probably something I missed in understanding/implementation.
I went back to the generic push gateway and using labels was able to merge via the PromQL.
Closing this one out.
Issue
Can we reset the vectors upon scrape? I tried below
But did not work.
Would appreciate some help here. I'm not a golang dev so maybe I'm understanding things wrong? TIA!