Commit
Author: Noam Preil [noam@pixelhero.dev]
Committer: Drew DeVault [sir@cmpwn.com] Mon, 30 Nov 2020 02:54:53 +0000
Hash: 93505c9a5ede24397fae0cec6ffea0dc77b67993
Timestamp: Mon, 30 Nov 2020 02:54:53 +0000 (4 years ago)

+3 -0 +/-1 browse
Document the label option
1diff --git a/README.md b/README.md
2index e79a46f..c4e192d 100644
3--- a/README.md
4+++ b/README.md
5 @@ -35,5 +35,8 @@ set the query parameters as appropriate:
6 - **width**, **height**: adjust chart dimensions in inches
7 - **step**: number of seconds between data points
8 - **min**, **max**: Y axis limits
9+ - **label**: template for the chart legend in Go's text/template format. All
10+ values provided by prometheus as tags are available - to label each matching
11+ result by the instance, for instance, use `{{.instance}}`
12
13 [1]: https://golang.org/pkg/time/#ParseDuration