Closed DifferentialOrange closed 2 years ago
@DifferentialOrange
On a side note... Can we actually build dashboard for our private projects? changing Datasource
to some our predefined value?
@DifferentialOrange
On a side note... Can we actually build dashboard for our private projects? changing
Datasource
to some our predefined value?
Now you can manually replace all ${DS_PROMETHEUS}
with required value (and also you can remove DS_PROMETHEUS variable). After resolving this ticket it should be better.
It's impossible to build json with fixed datasource since all dashboards choose target type based on template variable value https://github.com/tarantool/grafana-dashboard/blob/845e88c39b1c0c87de994984ba14ecac653857f4/dashboard/common.libsonnet#L75-L88
If someone decides to build compiled dashboard with
myinflux
datasource, it won't work out.