Skip to content

chore(grafana controller): Merge startup sync #2013

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Baarsgaard
Copy link
Collaborator

@Baarsgaard Baarsgaard commented May 19, 2025

This is the last PR related to #1990 which merges all startupSync functions into the Grafana Controller.

Also fixes the bug that non-leader instances runs startup Sync without being elected.

The dashboard was updated to only display the new startup sync metric and use the new instance_namespace label for in the legend for CR Reconciles.

@github-actions github-actions bot added the chore label May 19, 2025
@Baarsgaard Baarsgaard force-pushed the chore_merge_startup_sync branch 3 times, most recently from ad90d46 to 042499f Compare May 19, 2025 20:20
@Baarsgaard Baarsgaard marked this pull request as ready for review May 19, 2025 20:42
@Baarsgaard Baarsgaard marked this pull request as draft May 20, 2025 05:29
@Baarsgaard
Copy link
Collaborator Author

Spotted some typing improvements I could make before I put this up for review.

@Baarsgaard Baarsgaard force-pushed the chore_merge_startup_sync branch from 042499f to d5c4073 Compare May 20, 2025 15:24
@Baarsgaard Baarsgaard marked this pull request as ready for review May 20, 2025 15:37
@Baarsgaard Baarsgaard force-pushed the chore_merge_startup_sync branch 2 times, most recently from 0b2e46c to 31af353 Compare May 25, 2025 14:04
@Baarsgaard Baarsgaard force-pushed the chore_merge_startup_sync branch from 31af353 to c0eb53b Compare May 26, 2025 19:05
@Baarsgaard Baarsgaard requested a review from theSuess May 26, 2025 19:13
@Baarsgaard Baarsgaard force-pushed the chore_merge_startup_sync branch from c0eb53b to 528c04e Compare May 26, 2025 20:42
@Baarsgaard
Copy link
Collaborator Author

Baarsgaard commented May 26, 2025

That dashboard indeed references the old metrics, I'll post a picture of the updated dashboard.

@Baarsgaard Baarsgaard force-pushed the chore_merge_startup_sync branch from 528c04e to c8d63fe Compare May 29, 2025 08:43
@Baarsgaard
Copy link
Collaborator Author

Baarsgaard commented May 29, 2025

Old:
image

New:
image

There is less data, but I removed the extra sync duration displays and extended the CR reconciles graph to the left.
Also added the instance_namespace label to the legend.

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.

2 participants