Skip to content

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

Merged
ruflin merged 1 commit intoelastic:5.xfrom
tsg:backport_3945_5.x
Apr 12, 2017
Merged

Cherry-pick #3945 to 5.x: Adding support for custom http headers and TLS for metricbeat modules#4004
ruflin merged 1 commit intoelastic:5.xfrom
tsg:backport_3945_5.x

Conversation

@tsg
Copy link
Copy Markdown
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
Copy Markdown
Contributor

ruflin commented Apr 12, 2017

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

@ruflin
Copy link
Copy Markdown
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