VictoriaMetrics/lib/httpserver
Nikolay ce8c2dd1f1
Changes targets api (#961)
* changes /targets api
adds html response if requester accepts text/html,
adds quick template for /targets api,
fixes pathPrefix for / requests

* changes namings

* renamed targets file

* Update app/victoria-metrics/main.go

Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>

* adds trimspace to qtpl,
moves content-type for targets response closer to writer

* fixes bug with prefix

Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
2020-12-14 13:36:48 +02:00
..
httpserver.go Changes targets api (#961) 2020-12-14 13:36:48 +02:00
metrics.go add short_version label to vm_app_version metric (#877) 2020-11-03 14:10:42 +02:00