Last active
March 26, 2022 21:05
-
-
Save zacker330/ed1d710e160433e83f426fc41d34b117 to your computer and use it in GitHub Desktop.
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
load("@io_bazel_rules_jsonnet//jsonnet:jsonnet.bzl", "jsonnet_library", "jsonnet_to_json") | |
jsonnet_to_json( | |
name = "dashboard", | |
# where src located | |
src = "dashboard.jsonnet", | |
# output filename | |
outs = ["dashboard.json"], | |
# grafonnet provide many templates to generate dashboard json | |
deps = [ | |
"@grafonnet-lib//:grafonnet" | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment