389d3c3b9a
An empty job name was always an error, but it was previously only detected when pushing to the PGW and receiving an error. With this commit, the error is detected before pushing. An empty label value should have been OK but was encoded in a way that couldn't be pushed to the PGW. Cf. https://github.com/prometheus/pushgateway/issues/344 . This commit changes the creation of the path in the URL so that it works with empty label values. Signed-off-by: beorn7 <beorn@grafana.com> |
||
---|---|---|
.. | ||
example_add_from_gatherer_test.go | ||
examples_test.go | ||
push.go | ||
push_test.go |