Skip to content

Commit 4fa715c

Browse files
committed
readme
1 parent f3fced0 commit 4fa715c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ Usage of ./prometheus-png:
2828
```
2929

3030
## URI Parameters
31-
* **query** - prometheus query
31+
* **g0.expr**, **g1.expr**, ..., **gN.expr** - prometheus queries
32+
* **g0.legend**, **g1.legend**, ..., **gN.legend** - custom legend [template](https://golang.org/pkg/text/template/). Tag values can be printed with {{.tagname}} instruction
33+
* **query** - alias for g0.expr
3234
* **timeout** - optional custom query timeout
3335
* [all GET-parameters from carbonapi for format=png](https://github.com/go-graphite/carbonapi/blob/master/cmd/carbonapi/COMPATIBILITY.md#render)
3436

0 commit comments

Comments
 (0)