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

Customize Grafana annotation and label #105

Merged
merged 2 commits into from
May 18, 2023

Conversation

nlamirault
Copy link
Contributor

@nlamirault nlamirault commented May 17, 2023

Closes #

πŸ“‘ Description

Grafana sidecar load dashboards using an annotation and a label. These annotation and label are customizable.
This PR add this feature.

βœ… Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

β„Ή Additional Information

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
@nlamirault nlamirault requested review from a team as code owners May 17, 2023 15:12
Copy link
Member

@AlexsJones AlexsJones left a comment

Choose a reason for hiding this comment

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

Thank you for this improvement

annotation: grafana_folder
name: ai
dashboard:
label: grafana_dashboard
Copy link
Member

Choose a reason for hiding this comment

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

Is there ever a time this wouldn't be set grafana_dashboard ? Isn't that the default grafana searches for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@AlexsJones AlexsJones left a comment

Choose a reason for hiding this comment

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

Left a comment for clarification

@AlexsJones AlexsJones merged commit 089b2dd into k8sgpt-ai:main May 18, 2023
AlexsJones added a commit that referenced this pull request May 18, 2023
AlexsJones added a commit that referenced this pull request May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants