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

chore: Generate dashboard configmap from separate json files #667

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArthurSens
Copy link
Member

While doing the release for v2.52, I wanted to extend the prombench dashboard with more information that was needed to evaluate the release.

In the process of doing the contribution here, I realized how painful it is to contribute code to a json nested inside a configmap yaml.

I want to make this process easier first, and contribute the new dashboard panel after :)

Fix #420

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
@@ -1573,36 +1573,36 @@ data:
"steppedLine": false,
"targets": [
{
"expr": "node_memory_MemTotal_bytes{job=\"node-exporter\",namespace=\"prombench-[[pr-number]]\",node=~\"(test+).*\"}",
"expr": "node_memory_MemTotal_bytes{job=\"node-exporter\",namespace=\"prombench-${prNumber}\",node=~\"(test+).*\"}",
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't understand why we're seeing this diff 🤨

In master I see this line with ${prNumber}

"expr": "node_memory_MemTotal_bytes{job=\"node-exporter\",namespace=\"prombench-${prNumber}\",node=~\"(test+).*\"}",

Same thing for all other changes in this file

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.

Autogenerate grafana_dashboard_dashboards_noparse.yaml
1 participant