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

Make dashboards publishable on grafana.com #27

Merged
merged 4 commits into from
Nov 6, 2023
Merged

Make dashboards publishable on grafana.com #27

merged 4 commits into from
Nov 6, 2023

Conversation

roypaulin
Copy link
Collaborator

In order to upload the dashboards on grafana.com I added some fields at the top. This will provide info about dependencies and datasource.
I also got rid of some useless fields.

@roypaulin roypaulin requested a review from spilchen November 3, 2023 20:44
dashboards/depot.json Show resolved Hide resolved
},
"format": "time_series",
"rawSql": "SELECT \n$__time(end_time), \naverage_cpu_usage_percent \nFROM \nv_monitor.cpu_usage \nWHERE \n$__timeFilter(end_time)",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Was this removal intentional?

},
"format": "time_series",
"rawSql": "SELECT \n$__time(end_time), \naverage_cpu_usage_percent \nFROM \nv_monitor.cpu_usage \nWHERE \n$__timeFilter(end_time)",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Was this removal intentional?

Comment on lines +118 to +119
"type": "prometheus",
"uid": "${datasource}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add a check to our tests to ensure this is always set?

@roypaulin roypaulin merged commit 9c95205 into main Nov 6, 2023
2 checks passed
@roypaulin roypaulin deleted the update branch November 6, 2023 19:38
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