Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix prometheus metrics example #1157

Merged

Conversation

solidnerd
Copy link
Contributor

Traefik won’t start correctly if heterogeneous numbers in a toml array. This commit makes all numbers homogene.

Error Message Output:

traefik_1   | 2017/02/13 10:39:19 Error reading TOML config file /var/traefik/traefik.toml : Near line 96 (last key parsed 'web.metrics.prometheus.Buckets'): Array contains values of type 'Float' and 'Integer', but arrays must be homogeneous.

Signed-off-by: solidnerd [email protected]

Copy link
Contributor

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

Copy link
Collaborator

@SantoDE SantoDE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👼

Traefik won’t start correctly if heterogeneous numbers in a toml array.  This commit makes all numbers homogene.

Signed-off-by: solidnerd <[email protected]>
@SantoDE SantoDE force-pushed the fix-prometheus-in-traefik-example-toml branch from 6a64837 to 60b3f74 Compare February 21, 2017 06:55
@vdemeester vdemeester merged commit 8c82468 into traefik:master Feb 21, 2017
@ldez ldez added the kind/enhancement a new or improved feature. label Apr 29, 2017
@ldez ldez added this to the 1.3 milestone May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants