From 93505c9a5ede24397fae0cec6ffea0dc77b67993 Mon Sep 17 00:00:00 2001 From: Noam Preil Date: Sun, 29 Nov 2020 21:54:53 -0500 Subject: [PATCH] Document the label option --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e79a46f..c4e192d 100644 --- a/README.md +++ b/README.md @@ -35,5 +35,8 @@ set the query parameters as appropriate: - **width**, **height**: adjust chart dimensions in inches - **step**: number of seconds between data points - **min**, **max**: Y axis limits +- **label**: template for the chart legend in Go's text/template format. All +values provided by prometheus as tags are available - to label each matching +result by the instance, for instance, use `{{.instance}}` [1]: https://golang.org/pkg/time/#ParseDuration -- 2.45.2