mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-05-04 08:58:03 +00:00
Rework the postgres_mixing dashboard to be more composable. The goal is for this to be more maintainable long term. I don't know jsonnet very well, but following other projects, this appears to be in line. This replaces the postgres-overview.json dashboard with an overview.json dashboard with the same panels. While the dashboard does not match perfectly, it does include the same data but with the correct metrics. Signed-off-by: Joe Adams <github@joeadams.io>
8 lines
138 B
Plaintext
8 lines
138 B
Plaintext
local g = import './g.libsonnet';
|
|
local var = g.dashboard.variable;
|
|
|
|
{
|
|
datasource:
|
|
var.datasource.new('datasource', 'prometheus')
|
|
}
|