Skip to content
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 proposal for GrafanaLibraryPanel CRD #1611

Closed
wants to merge 2 commits into from

Conversation

diurnalist
Copy link

this adds a proposal for a GrafanaLibraryPanel CRD, which would enable the operator to manage Library Panels similar to other assets. the Library Panel behaves similar as a Dashboard; it has a JSON model and can optionally be associated to a Folder.

full disclosure: we actually have a patch that we are using in production that implements the proposal documented here. We don't have chainsaw tests for it though; I think that would be one possible next step. still, open to discussion about the approach. we opted to implement this with high parity with how Dashboards worked because we reasoned folks might want to manage the JSON models for both in similar ways, be that as config maps, or nested on the CR itself, or external URL.

Copy link
Collaborator

@NissesSenap NissesSenap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice feature to get, thanks for the initial design.

Personally I think it would be interesting to discuss how the dashboard would reference lib panels. I think it would be reasonable to do it in a similar way as we do here: #1604

Just because we talk about the design, doesn't mean that we have to have this feature to be a part of the initial implementation, but it might have an impact on how we make the implementation.

How do you feel about it?

Copy link

This PR hasn't been updated for a while, marking as stale

@github-actions github-actions bot added the stale label Aug 16, 2024
@github-actions github-actions bot closed this Aug 23, 2024
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.

None yet

2 participants