~sircmpwn/chartsrv

93505c9a5ede24397fae0cec6ffea0dc77b67993 — Noam Preil 3 years ago 296bb9a 1.0.0
Document the label option
1 files changed, 3 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +3 -0
@@ 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