-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not prefix Thanos objstore client metrics and fix instrumentation in querier #2568
Do not prefix Thanos objstore client metrics and fix instrumentation in querier #2568
Conversation
…in querier Signed-off-by: Marco Pracucci <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
a11e607
to
b3e4d36
Compare
Signed-off-by: Marco Pracucci <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
I would prefer to add instrumentation in |
I'm OK with it. The reason why I did it for every single backend storage is because the |
I see your point, but one can also use factory methods from Thanos and then get unwrapped bucket clients. I think we should be consistent. Furthermore our own code inside Cortex doesn't do that (apart from tests). But this isn't a big deal. Thanks for fixing this, it will make working with these metrics easier. |
Signed-off-by: Marco Pracucci <[email protected]>
I've applied your suggestion. Thanks for the review! |
Signed-off-by: Marco Pracucci <[email protected]>
What this PR does:
Currently Thanos objstore metrics are prefixed by
cortex_<service>_
. This leads to two issues:In this PR I propose to:
{component="name"}
labelpkg/querier/blocks_store_queryable.go
- the bug fix is not mentioned in the CHANGELOG because the whole store-gateway work doesn't appear in the CHANGELOG yet)Which issue(s) this PR fixes:
N/A
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]