-
Notifications
You must be signed in to change notification settings - Fork 3
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
update grafana cloud's clusters recording rules to work with capi #1322
base: main
Are you sure you want to change the base?
Conversation
# Scheduled cluster upgrade times | ||
- expr: upgrade_schedule_operator_cluster_scheduled_upgrades_time | ||
record: aggregation:giantswarm:cluster_scheduled_upgrades_time | ||
- name: docker.grafana-cloud.recording | ||
rules: | ||
{{- if eq .Values.managementCluster.provider.flavor "vintage" }} | ||
- expr: sum(engine_daemon_image_actions_seconds_count) by (cluster_id, cluster_type, customer, installation, pipeline, provider, region, action) |
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 is vintage only
- expr: sum(cluster_service_cluster_info) by (release_version, cluster_id, cluster_type, customer, installation, pipeline, provider, region) / 2 or sum(cluster_operator_cluster_status{release_version!=""}) by (release_version, cluster_id, cluster_type, customer, installation, pipeline, provider, region) | ||
record: aggregation:giantswarm:cluster_release_version | ||
- expr: avg_over_time(cluster_operator_cluster_create_transition[1w]) | ||
record: aggregation:giantswarm:cluster_transition_create | ||
- expr: avg_over_time(cluster_operator_cluster_update_transition[1w]) | ||
record: aggregation:giantswarm:cluster_transition_update | ||
{{- else }} | ||
# TODO |
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 strongly suggest you ask @giantswarm/team-turtles for this
I think @AverageMarcus added the missing versions. @QuantumEnigmaa do we need this again? |
I only made a change to |
Ah alright, thanks :) |
Towards giantswarm/roadmap#3634
This PR updates the
clusters.grafana-cloud.recording
recording rules to work with CAPI so that the dashboards mentioned in the issue can have CAPI clusters' data .Checklist
oncall-kaas-cloud
GitHub group).