prometheus/documentation/examples
Julius Volz 179b2155d1
Fix: Use json.Unmarshal() instead of json.Decoder (#9033)
* Fix: Use json.Unmarshal() instead of json.Decoder

See https://ahmet.im/blog/golang-json-decoder-pitfalls/

json.Decoder is for JSON streams, not single JSON objects / bodies.

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Revert modifications to targetgroup parsing

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-07-02 09:38:14 +01:00
..
custom-sd Fix: Use json.Unmarshal() instead of json.Decoder (#9033) 2021-07-02 09:38:14 +01:00
kubernetes-rabbitmq fixes yamllint errors 2021-06-12 12:47:47 +02:00
remote_storage Switched to go-kit/log 2021-06-11 12:28:36 -04:00
prometheus-digitalocean.yml fixes yamllint errors 2021-06-12 12:47:47 +02:00
prometheus-docker.yml fixes yamllint errors 2021-06-12 12:47:47 +02:00
prometheus-dockerswarm.yml fixes yamllint errors 2021-06-12 12:47:47 +02:00
prometheus-eureka.yml Add Eureka Service Discovery (#3369) 2020-08-26 17:36:59 +02:00
prometheus-hetzner.yml fixes yamllint errors 2021-06-12 12:47:47 +02:00
prometheus-kubernetes.yml fixes yamllint errors 2021-06-12 12:47:47 +02:00
prometheus-linode.yml fixes yamllint errors 2021-06-12 12:47:47 +02:00
prometheus-marathon.yml fixes yamllint errors 2021-06-12 12:47:47 +02:00
prometheus-scaleway.yml add support for scaleway service discovery (#8555) 2021-03-10 15:10:17 +01:00
prometheus.yml fixes yamllint errors 2021-06-12 12:47:47 +02:00
rbac-setup.yml fixes yamllint errors 2021-06-12 12:47:47 +02:00
web-config.yml Fix a broken link for the bcrypt ref. at the web-config.yml example 2021-04-20 22:43:37 +02:00