-
Notifications
You must be signed in to change notification settings - Fork 820
Add integration test on query-scheduler #3429
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 integration test on query-scheduler #3429
Conversation
c570aac
to
c5696fb
Compare
@@ -83,8 +83,8 @@ func NewQuerierSchedulerWorkers(cfg QuerierWorkersConfig, handler RequestHandler | |||
} | |||
|
|||
frontendClientsGauge := promauto.With(reg).NewGauge(prometheus.GaugeOpts{ | |||
Name: "cortex_query_scheduler_worker_frontend_clients", | |||
Help: "The current number of frontend clients.", | |||
Name: "cortex_querier_query_frontend_clients", |
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 would prefer it cortex_query_scheduler
metrics prefix are reserved for the scheduler. Thoughts?
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.
👍 Good idea, thanks for spotting.
Flaky test should be fixed by this PR: #3434 |
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.
Great job, thank you very much!
c5696fb
to
2109545
Compare
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
3b77630
to
fdbde79
Compare
What this PR does:
In this PR I've added integration tests for the query-scheduler. The diff will be easier to review if you enable "hide whitespace changes".
Which issue(s) this PR fixes:
N/A
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]