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 #4004

Merged
merged 1 commit into from
Apr 12, 2017

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"

@ruflin
Copy link
Contributor

ruflin commented Apr 12, 2017

The backport here is empty because I add this as part of the jolokia backport.

@ruflin
Copy link
Contributor

ruflin commented Apr 12, 2017

Changelog will be cleaned up later.

@ruflin ruflin merged commit 6c954a6 into elastic:5.x Apr 12, 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.

3 participants