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

feat: Expand grafana dashboard, bump to schemaVersion 38 #602

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

viccuad
Copy link
Member

@viccuad viccuad commented Nov 24, 2023

Description

Relates to #597

  • Bump dashboard to schemaVersion 38, from Grafana vesion 10.2.0.
  • Filter the preexisting visualizations with request_origin="validate".
  • Add new visualizations pertaining audit requests, filtering with request_origin="audit".
  • Leave latency, pod visualizations untouched.

Test

Tested by deploying grafana with docker compose, and editing the dashboard via the UI. The UI has a linter and informs if the queries fail to parse or are invalid.

Still would be good to test it against an audit scanner + opentelemetry deployment.

grafana-audit

Additional Information

Tradeoff

Potential improvement

@viccuad viccuad requested a review from a team as a code owner November 24, 2023 13:48
@viccuad viccuad marked this pull request as draft November 24, 2023 13:51

Verified

This commit was signed with the committer’s verified signature. The key has expired.
viccuad Víctor Cuadrado Juan
- Bump dashboard to schemaVersion 38, from Grafana vesion 10.2.0.
- Add a "General overview" row.
- Filter the preexisting visualizations with
  `request_origin="validate"`.
- Add new visualizations pertaining audit requests, filtering with
  `request_origin="audit"`.
- Leave latency untouched.

Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
@viccuad viccuad force-pushed the grafana-request-origin branch from a05dd70 to 6baea7d Compare November 27, 2023 15:39
@viccuad viccuad marked this pull request as ready for review November 27, 2023 15:40
Copy link
Member

@jvanz jvanz left a comment

Choose a reason for hiding this comment

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

Considering the small change requested during one of our dailies, FGTM

Copy link
Member

@flavio flavio left a comment

Choose a reason for hiding this comment

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

Looks really nice, thanks!

@viccuad
Copy link
Member Author

viccuad commented Nov 28, 2023

grafana-audit

This is the current version, with the requested changes. Tested it against a full deployment.

@viccuad viccuad merged commit 3b232fa into kubewarden:main Nov 28, 2023
@viccuad viccuad deleted the grafana-request-origin branch November 28, 2023 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants