Skip to content

[prometheus_input] Add missing SSL fields to sync it with the Prometheus package #14503

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

devamanv
Copy link
Contributor

@devamanv devamanv commented Jul 11, 2025

Proposed commit message

The PR contains changes to add SSL related configuration options.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Copy link

@elasticmachine
Copy link

💚 Build Succeeded

@andrewkroh andrewkroh added the Integration:prometheus_input Prometheus Input label Jul 11, 2025
@devamanv devamanv added Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] enhancement New feature or request labels Jul 11, 2025
@devamanv devamanv marked this pull request as ready for review July 11, 2025 16:11
@devamanv devamanv requested a review from a team as a code owner July 11, 2025 16:11
Comment on lines +29 to +40
{{#if ssl.certificate}}
ssl.certificate: {{ssl.certificate}}
{{/if}}
{{#if ssl.key}}
ssl.key: {{ssl.key}}
{{/if}}
{{#if ssl.key_passphrase}}
ssl.key_passphrase: {{ssl.key_passphrase}}
{{/if}}
{{#if ssl.ca_trusted_fingerprint}}
ssl.ca_trusted_fingerprint: {{ssl.ca_trusted_fingerprint}}
{{/if}}
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think about this instead of having all these separate options for the same thing ssl option in UI?

{{#if ssl}}
ssl: {{ssl}}
{{/if}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:prometheus_input Prometheus Input Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Prometheus Input]: Expose metricbeat setting to disable SSL verification
5 participants