Skip to content

Conversation

gouthamve
Copy link
Contributor

More will be added once the following is merged:
prometheus/prometheus#6890

The idea is that we now have a ton of QPS and we don't know which tenants are using queries more than others. We want to add the samples/chunks loaded metrics as well so that we can come up with fair usage policy on the read path.

Ideally we'd add latency metrics as well, but the cardinality is just too much.

Signed-off-by: Goutham Veeramachaneni [email protected]

@gouthamve gouthamve marked this pull request as ready for review April 15, 2020 15:23
@pull-request-size pull-request-size bot added size/L and removed size/S labels Apr 15, 2020
@gouthamve gouthamve force-pushed the add-per-user-qps branch 3 times, most recently from 2360f06 to ebba4aa Compare April 15, 2020 15:40
@gouthamve gouthamve changed the title Add initial per tenant query metric Add initial per tenant query and chunk metrics Apr 15, 2020
Copy link
Contributor

@codesome codesome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with nits

@gouthamve
Copy link
Contributor Author

@pstibrany Thanks for the feedback, I've incorporated most of it. It's ready for another review

Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, LGTM!

@bboreham bboreham changed the title Add initial per tenant query and chunk metrics Add initial per tenant query and chunk metrics AND RENAME SOME EXISTING METRICS Apr 16, 2020
@bboreham
Copy link
Contributor

Please be really loud when you make breaking changes.

Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please make sure to mention all changed / new metrics in CHANGELOG. (As Marco points out, query_frontend_queries_total is missing).

More will be added once the following is merged:
prometheus/prometheus#6890

Signed-off-by: Goutham Veeramachaneni <[email protected]>
Signed-off-by: Goutham Veeramachaneni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants