Skip to content

[Kafka] Add Condition configuration option to Kafka Metrics - #17256

Merged
ckauf merged 7 commits into
mainfrom
ckauf_add_kafka_condition
Feb 12, 2026
Merged

[Kafka] Add Condition configuration option to Kafka Metrics#17256
ckauf merged 7 commits into
mainfrom
ckauf_add_kafka_condition

Conversation

@ckauf

@ckauf ckauf commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

Proposed commit message

Expose Condition in UI to allow dynamically enabling/disabling data collection.

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.

How to test this PR locally

Add a valid condition to the integration and check if data collection is/is not enabled, e.g. ${host.platform} == "windows" on a linux host should not enable the input.

Screenshots

image
@ckauf
ckauf requested a review from a team as a code owner February 5, 2026 13:55
@ckauf ckauf added the enhancement New feature or request label Feb 5, 2026
@cla-checker-service

cla-checker-service Bot commented Feb 5, 2026

Copy link
Copy Markdown

💚 CLA has been signed

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@andrewkroh andrewkroh added Integration:kafka Kafka Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labels Feb 5, 2026

@agithomas agithomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!, Code owner approval

@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

History

@ckauf
ckauf merged commit e5cc0ec into main Feb 12, 2026
9 checks passed
@ckauf
ckauf deleted the ckauf_add_kafka_condition branch February 12, 2026 07:46
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package kafka - 1.27.0 containing this change is available at https://epr.elastic.co/package/kafka/1.27.0/

jakubgalecki0 pushed a commit to jakubgalecki0/integrations that referenced this pull request Feb 19, 2026
…17256)

* add condition field

* added partition dataset condition

* Update PR

---------

Co-authored-by: Christopher Kaufmann <christopher.kaufmann@elastic.co>
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:kafka Kafka Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

6 participants