Grafana as Code

Transfer our dashboard into a code representation via grafanalib.
This commit is contained in:
Maximilian Paß
2022-10-26 16:51:56 +01:00
parent b98e3deb40
commit 44aa5d73a2
31 changed files with 745 additions and 1746 deletions

View File

@@ -0,0 +1,5 @@
def read_query(name):
with open("queries/" + name + ".flux", 'r') as file:
return file.read()