-
Notifications
You must be signed in to change notification settings - Fork 804
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
Add user label to ruler query and write metrics #5312
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall looks good, but I think some test should be updated/added for the user
label.
The change looks okay to me. Please make sure we mention the metrics we are going to change in the changelog. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, like Alvin says: just add 1 test using testutil.GatherAndCompare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice enhancement, but I think something is wrong with the PR; it includes changes that are already in the cortexporject:master
branch. Can you fix this before I merge this PR?
@@ -157,6 +157,7 @@ jobs: | |||
docker pull quay.io/cortexproject/cortex:v1.14.0 | |||
docker pull quay.io/cortexproject/cortex:v1.14.1 | |||
docker pull quay.io/cortexproject/cortex:v1.15.0 | |||
docker pull quay.io/cortexproject/cortex:v1.15.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks like a change that is already in cortexproject:master
.gitignore
Outdated
cmd/cortex/cortex | ||
cmd/query-tee/query-tee | ||
cmd/thanosconvert/thanosconvert | ||
cmd/test-exporter/test-exporter-* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks like a change that is already in cortexproject:master
85b384a
to
f443580
Compare
…ser level Signed-off-by: Anand Rajagopal <anrajag@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
What this PR does:
Adding user label to cortex_ruler_queries_failed_total, cortex_ruler_queries_total, cortex_ruler_write_requests_failed_total, cortex_ruler_write_requests_total metrics. This would allow for better tracking of failures at a user level
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]