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

Update Grafana dashboard by Grafonnet #640

Closed

Conversation

kelchen123
Copy link
Collaborator

@kelchen123 kelchen123 commented Aug 4, 2023

Added the grafonnet generator files, updated Perf_Env_Build_Test_CI.yml file to implement the grafonnet_generator job

Type of change

Note: Fill x in []

  • bug
  • enhancement
  • documentation
  • dependencies

Description

Adding ability to update Grafana dashboard by Grafonnet code.
Content:

  1. Dockerfile - Generates Grafana dashboard Json file from Grafonnet code main.libsonnet

  2. Main.libsonnet - Grafana dashboard Grafonnet code

  3. update_grafana_dashboard.py: Python code to override Grafana json dashboard

  4. 'update_grafana_dashboard' job to benchmark-runner build job

For more details on grafonnet code

For security reasons, all pull requests need to be approved first before running any automated CI

@kelchen123 kelchen123 added the enhancement New feature or request label Aug 4, 2023
@kelchen123 kelchen123 requested a review from ebattat August 4, 2023 20:02
@kelchen123 kelchen123 self-assigned this Aug 4, 2023
@ebattat
Copy link
Collaborator

ebattat commented Aug 6, 2023

@kelchen123, Need to update the description and PR title:
Title: Update Grafana dashboard by Grafonnet
Description:
Adding ability to update Grafana dashboard by Grafonnet code.
Content:

  1. Dockerfile - Generates Grafana dashboard Json file from Grafonnet code main.libsonnet
  2. Main.libsonnet - Grafana dashboard Grafonnet code
  3. update_grafana_dashboard.py: Python code to override Grafana json dashboard
  4. Adding 'update_grafana_dashboard' job to benchmark-runner build job

@@ -260,10 +260,56 @@ jobs:
sudo docker push quay.io/${{ secrets.QAUYIO_REPOSITORY }}/${{ secrets.PACKAGE_NAME }}:latest
echo '⌛ Wait 30 sec till image will be updated in quay.io'
sleep 30

grafonnet_generator:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we need to change the job name to update_grafana_dashboard instead of grafonnet_generator

@@ -0,0 +1,7513 @@
local g = import 'g.libsonnet';
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you please add latest updates in product version ?

@ebattat ebattat changed the title Grafonnet generator Update Grafana dashboard by Grafonnet Aug 6, 2023
@ebattat
Copy link
Collaborator

ebattat commented Aug 28, 2023

Adding all those enhancements in PR: #641

@ebattat ebattat closed this Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants