Replace deprecated grafonnet-lib with grafonnet - #202
Merged
Conversation
oscar-meroton
marked this pull request as draft
July 15, 2026 12:53
oscar-meroton
force-pushed
the
replace-grafonnet-lib
branch
2 times, most recently
from
July 17, 2026 07:02
2d6bfa7 to
1609b54
Compare
oscar-meroton
marked this pull request as ready for review
July 17, 2026 07:30
moroten
reviewed
Aug 10, 2026
The library used to generate Grafana dashboards, `grafonnet-lib`, has been deprecate for quite some time. This commit re-implements `simpledash` with the replacement library `grafonnet`. The tool "Jsonnet Bundler" is now used to manage `grafonnet` versions and dependencies.
oscar-meroton
force-pushed
the
replace-grafonnet-lib
branch
from
August 10, 2026 13:45
8e7a8d4 to
ea1e8de
Compare
oscar-meroton
force-pushed
the
replace-grafonnet-lib
branch
from
August 11, 2026 09:02
ea1e8de to
052126a
Compare
moroten
requested changes
Aug 11, 2026
Co-authored-by: Fredrik Medley <moroten@users.noreply.github.com>
moroten
approved these changes
Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The library grafonnet-lib, used in bb-deployments to generate Grafana dashboards, has been deprecated since 2023. This commit re-implements the dashboards using the official replacement library Grafonnet.
The dashboards are now also configurable using the file
config.libsonnet, for setting options like the default timezone or whether to use shared crosshairs.It's worth noting that the new implementation no longer uses the rule
jsonnet_to_jsonto create the dashboards as it incompatible with the package managing tool Jsonnet bundler, which is the recommended way of installing Grafonnet.