Skip to content

Comments

[9.3] (backport #12854) Default inputs using dynamic providers to the process runtime#12859

Open
mergify[bot] wants to merge 1 commit into9.3from
mergify/bp/9.3/pr-12854
Open

[9.3] (backport #12854) Default inputs using dynamic providers to the process runtime#12859
mergify[bot] wants to merge 1 commit into9.3from
mergify/bp/9.3/pr-12854

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Feb 19, 2026

What does this PR do?

Default inputs using dynamic providers to the process runtime.

I've also refactored the runtime override tests for this feature a bit.

Why is it important?

The otel runtime isn't efficient at reloading configuration right now. Nonetheless, we want to enable it by default for inputs which are often used in highly dynamic environments, like filestream in Kubernetes. This change allows us to do that without impacting those use cases.

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • [ ] I have added an integration test or an E2E test

How to test this PR locally

Build agent and try running an input with a local dynamic provider:

inputs:
- id: "${local_dynamic.id}"
  type: filestream
  prospector.scanner.fingerprint.enabled: false
  file_identity.native: ~
  use_output: default
  paths: [...]

outputs:
  default:
    type: elasticsearch
    hosts: [http://localhost:9200]
    username: elastic
    password: elastic
agent:
  monitoring:
    enabled: false
  internal.runtime.filebeat.filestream: otel
  internal.runtime.dynamic_inputs: process
agent.logging.level: debug
providers:
  local_dynamic:
    items:
    - vars:
        id: filestream-1

Filestream should run in the process runtime.

Related issues


This is an automatic backport of pull request #12854 done by [Mergify](https://mergify.com).

@mergify mergify bot requested a review from a team as a code owner February 19, 2026 15:21
@mergify mergify bot removed the request for review from a team February 19, 2026 15:21
@mergify mergify bot added the backport label Feb 19, 2026
@github-actions github-actions bot added enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Feb 19, 2026
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@swiatekm
Copy link
Contributor

This should wait until after 9.3.1 release.

Copy link
Member

@ebeahan ebeahan left a comment

Choose a reason for hiding this comment

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

Holding off on merging until after 9.3.1

@mergify
Copy link
Contributor Author

mergify bot commented Feb 23, 2026

This pull request has not been merged yet. Could you please review and merge it @swiatekm? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants