1
0
Fork 0

Support for Metrics and Prometheus.

This commit is contained in:
enxebre 2017-01-12 14:34:54 +01:00
parent dd85cbca39
commit 175659a3dd
11 changed files with 279 additions and 5 deletions

View file

@ -328,6 +328,13 @@ func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration {
RecentErrors: 10,
}
// default Metrics
defaultWeb.Metrics = &types.Metrics{
Prometheus: &types.Prometheus{
Buckets: types.Buckets{100, 300, 1200, 5000},
},
}
// default Marathon
var defaultMarathon provider.Marathon
defaultMarathon.Watch = true