Disable group runners dashboard when ClickHouse is not configured
requested to merge 459052-disable-group-runner-dashboard-when-clickhouse-is-not-configured into master
What does this MR do and why?
This change adds a new panel in the group runners dashboard to shows the usage of compute minutes by runner and project.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
ClickHouse disabled | ClickHouse Enabled |
---|---|
![]() |
![]() |
How to set up and validate locally
- Ensure you have a GitLab enterprise license
- Visit any group you own -> Runners
If you haven't configured ClickHouse locally
- Check you don't see a Fleet Dashboard link
- Locally open
config/click_house.yml
and configure it (according to https://docs.gitlab.com/ee/development/database/clickhouse/clickhouse_within_gitlab.html). - Locally I used the following
config/click_house.yml
file:
test:
main:
database: gitlab_clickhouse_test
url: 'http://localhost:8123'
username: default
development:
main:
database: gitlab_clickhouse_development
url: 'http://localhost:8123'
username: default
- Restart GDK
- Refresh any group you own -> Runners
- Check you see a Fleet Dashboard link and can visit the dashboard (e.g.
/groups/flightjs/-/runners/dashboard
).
If you have configured ClickHouse locally
- Open
config/click_house.yml
and remove its contents - Restart rails-web:
gdk restart rails-web
- Refresh any group you own -> Runners
- Check you don't see a Fleet Dashboard link
- Follow the steps in the section above
Related to #459052 (closed)