tarantool / grafana-dashboard

Dashboard for Tarantool application and database server monitoring with Grafana
MIT License
37 stars 11 forks source link

Build dashboard with pre-defined data source #90

Closed DifferentialOrange closed 2 years ago

DifferentialOrange commented 3 years ago

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.

opomuc commented 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 commented 2 years ago

@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.