-
Notifications
You must be signed in to change notification settings - Fork 532
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 querier metrics for requests executed #3524
Add querier metrics for requests executed #3524
Conversation
@@ -27,6 +29,12 @@ var processorBackoffConfig = backoff.Config{ | |||
MaxBackoff: 1 * time.Second, | |||
} | |||
|
|||
var metricWorkerRequests = promauto.NewCounter(prometheus.CounterOpts{ |
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.
i don't mind this but do you expect it to be significantly different than the querier request rates?
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.
yup, I think request rate is for batches, and this is at job level (single request). we can rate the counter to capture how much work each querier is doing...
What this PR does:
Adds two metrics to provide observability into read path and query processing
tempo_querier_worker_request_executed_total
is a counter, measuring the requests executed by the querierWhich issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]