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

Add HTTP authentication to influxdb metric backend #3600

Merged
merged 1 commit into from Jul 11, 2018

Conversation

halfa
Copy link
Contributor

@halfa halfa commented Jul 11, 2018

What does this PR do?

Add some configuration options and corresponding structures to pass username and password to the influxdb metric backend. These options are only usable with HTTP and NOT with the UDP configuration.

Motivation

Passwords are good for security I guess? Also I needed it for my work and it was easily implemented as the HTTP backend was ready since #3391.

More

  • Added/updated documentation

Additional Notes

Built and tested, apparently traefik doesn't report metrics when there is no request. Is that by design? Other influxdb colletors (such as telegraf) usually report one record per second for each metrics.

Copy link
Member

@mmatur mmatur 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
Member

@ldez ldez 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
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

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

LGTM

@traefiker traefiker merged commit 5ce4a2d into traefik:master Jul 11, 2018
@ldez ldez changed the title Add HTTP authentification to influxdb metric backend Add HTTP authentication to influxdb metric backend Mar 18, 2019
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.

None yet

5 participants