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

Cherry-pick #3945 to 5.x: Adding support for custom http headers and TLS for metricbeat modules #4002

Closed
wants to merge 1 commit into from

Conversation

tsg
Copy link
Contributor

@tsg tsg commented Apr 12, 2017

Cherry-pick of PR #3945 to 5.x branch. Original message:

This PR adds support to add TLS options when a user wants to hit HTTPS endpoints and also provide custom headers in case an endpoint has authentication enabled.

Example:

- module: prometheus
  namespace: "kube-apiserver"
  metricsets: ["collector"]
  enabled: true
  period: 10s
  headers:
    Authorization: "Bearer test123"
  hosts: ["https://apiserver"]
  ssl.verification_mode: "none"

@tsg tsg closed this Apr 12, 2017
@tsg tsg deleted the backport_3945_5.x branch April 12, 2017 10:24
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.

2 participants