From 40ada2a857187bc2f854a5376cd046370a21ba67 Mon Sep 17 00:00:00 2001 From: Vitaly Zhuravlev Date: Mon, 28 Aug 2023 14:16:08 +0000 Subject: [PATCH] Add memo in README Signed-off-by: Vitaly Zhuravlev --- contrib/mixin/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/contrib/mixin/README.md b/contrib/mixin/README.md index 6e10990b5..0da7ea8fc 100644 --- a/contrib/mixin/README.md +++ b/contrib/mixin/README.md @@ -6,6 +6,16 @@ A customisable set of Grafana dashboard and Prometheus alerts for etcd. Instructions for use are the same as the [kubernetes-mixin](https://github.com/kubernetes-monitoring/kubernetes-mixin). +## Grafana 7.x support + +By default, this mixin generates the dashboard compatible with Grafana 8.x or newer. +To generate dashboard for Grafana 7.x, set in the config.libsonnet: + +``` +// set to true if dashboards should be compatible with Grafana 7x or earlier +grafana7x: true, +``` + ## Background * For more information about monitoring mixins, see this [design doc](https://docs.google.com/document/d/1A9xvzwqnFVSOZ5fD3blKODXfsat5fg6ZhnKu9LK3lB4/edit#).