Make toml Bucket array homogeneous

This commit is contained in:
Hans Kristian Flaatten 2017-03-31 14:01:56 +02:00 committed by GitHub
parent 0e0a231e5a
commit 9281f4fbbc

View file

@ -556,7 +556,7 @@ address = ":8080"
#
# To enable Traefik to export internal metrics to Prometheus
# [web.metrics.prometheus]
# Buckets=[0.1,0.3,1.2,5]
# Buckets=[0.1,0.3,1.2,5.0]
#
# To enable basic auth on the webui
# with 2 user/pass: test:test and test2:test2
@ -735,7 +735,7 @@ $ curl -s "http://localhost:8080/api" | jq .
- `/metrics`: You can enable Traefik to export internal metrics to different monitoring systems (Only Prometheus is supported at the moment).
```bash
$ traefik --web.metrics.prometheus --web.metrics.prometheus.buckets="0.1,0.3,1.2,5"
$ traefik --web.metrics.prometheus --web.metrics.prometheus.buckets="0.1,0.3,1.2,5.0"
```
## Docker backend