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

Grafana script + README improvements #585

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Conversation

eero-t
Copy link
Contributor

@eero-t eero-t commented Nov 19, 2024

Description

Changes based on feedback from testing by @poussa.

Script updates:

  • Fix shellcheck warnings
  • Improve dashboard JSON validity checks
    • Grafana will generate 'uid' on configMap load if it is missing
  • Make sure dashboard configMap name matches k8s rules
  • Restart Grafana to make sure it picks up the configMap updates

README updates:

  • Document what the script does and what implications configMap usage for dashboards has

Issues

n/a.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Dependencies

n/a.

Tests

Manual testing

@eero-t eero-t requested a review from daisy-ycguo as a code owner November 19, 2024 11:16
@eero-t eero-t marked this pull request as draft November 19, 2024 11:16
@eero-t
Copy link
Contributor Author

eero-t commented Nov 19, 2024

There were some other potential issues Sakari noticed, which might need additional fix or README explanation, so I set this as draft until we've finished investigating them.

@eero-t eero-t marked this pull request as ready for review November 22, 2024 14:31
@eero-t
Copy link
Contributor Author

eero-t commented Nov 22, 2024

There were some other potential issues Sakari noticed, which might need additional fix or README explanation, so I set this as draft until we've finished investigating them.

@poussa Did not answer on whether something was wrong with the earlier dashboards, but this fixes the other issues he commented => dropped "draft" status + rebased to main.

@eero-t eero-t force-pushed the grafana-fixes branch 3 times, most recently from ab1156c to 064ec8a Compare November 26, 2024 10:23
* Fix shellcheck warnings
* Improve dashboard JSON validity checks
  - Grafana will generate 'uid' on configMap load if it is missing
* Make sure dashboard configMap name matches k8s rules
* Restart Grafana to make sure it picks up the configMap updates

Signed-off-by: Eero Tamminen <[email protected]>
@poussa poussa requested review from lianhao and removed request for daisy-ycguo November 26, 2024 14:12
@lianhao lianhao merged commit 781345b into opea-project:main Nov 27, 2024
7 checks passed
@eero-t eero-t deleted the grafana-fixes branch December 5, 2024 10:35
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.

3 participants