You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I want to say this is an awesome tool! Out of everything I've looked at DARK seems to work the best for supporting the idea of Dashboards as Code in an easy-to-read YAML format.
Grafana is a very feature-rich product so it comes with no surprise that DARK and Grabana don't currently handle every option. Here is a list of settings and issues I have come across while trying to port some pre-existing dashboards over to DARK.
The converter tool does not handle converting most of my pre-existing dashboards. I'm guessing my dashboards contain settings which DARK is unable to convert.
Example:
❯ docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/workspace kphoen/dark-converter:latest convert-yaml \
-i dashboard.json \
-o converted-dashboard.yaml
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2022-04-12T22:32:34Z ERROR converter/json.go:113 could not unmarshall dashboard {"error": "json: cannot unmarshal object into Go struct field Board.panels of type string"}
2022-04-12T22:32:34Z ERROR converter/json.go:55 could parse input {"error": "json: cannot unmarshal object into Go struct field Board.panels of type string"}
2022-04-12T22:32:34Z FATAL cmd/toyaml.go:30 Could not convert dashboard {"error": "json: cannot unmarshal object into Go struct field Board.panels of type string"}
When trying to manually port dashboards from grafana over to DARK I have run into some missing features:
Missing Features
I tried to look through all the docs and code. It's possible I simply missed the correct fields.
Alerts do not appear under the main alert/list page.
When creating an alert for say a time series panel, the Alert count will go up but no alert is linked to the panel.
Unable to set labels
Time Series
Unable to set the following:
line interpolation
line width
Connect Null Values
Thresholds
Single Stats Panel
Unable to set the following:
Stat styles:
Orientation
Text mode
Text alignment
Misc
Values Map (ex null -> 0 with Color orange)
Single threshold value. Currently requires at least two threshold values. Should this not support the ability to use the "base" threshold and then one extra threshold value?
The text was updated successfully, but these errors were encountered:
there has been a lot of work on alerting support in grabana lately. Until recently, the new "unified alerting" system that Grafana exposes wasn't supported. It now is, which should solve your problem
Info
Grafana version: v8.4.3
Dark: v0.9.2
First of all, I want to say this is an awesome tool! Out of everything I've looked at DARK seems to work the best for supporting the idea of Dashboards as Code in an easy-to-read YAML format.
Grafana is a very feature-rich product so it comes with no surprise that DARK and Grabana don't currently handle every option. Here is a list of settings and issues I have come across while trying to port some pre-existing dashboards over to DARK.
The converter tool does not handle converting most of my pre-existing dashboards. I'm guessing my dashboards contain settings which DARK is unable to convert.
Example:
When trying to manually port dashboards from grafana over to DARK I have run into some missing features:
Missing Features
I tried to look through all the docs and code. It's possible I simply missed the correct fields.
Alerts
Example:
Time Series
Unable to set the following:
Single Stats Panel
Unable to set the following:
Misc
The text was updated successfully, but these errors were encountered: