Skip to content

[nginx_input_otel] Explicitly define variables for available settings - #16313

Merged
jsoriano merged 3 commits into
elastic:mainfrom
jsoriano:nginx-otel-variables-tests
Dec 29, 2025
Merged

[nginx_input_otel] Explicitly define variables for available settings#16313
jsoriano merged 3 commits into
elastic:mainfrom
jsoriano:nginx-otel-variables-tests

Conversation

@jsoriano

@jsoriano jsoriano commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

Proposed commit message

Define variables for available settings instead of allowing any configuration in YAML form. Having them as variables allows to document and validate them, being less error prone for users.
It will be also easier to reuse input packages in composable packages by clearly exposing its "interface".

See more detailed reasoning on https://github.com/elastic/integrations/pull/15651/files#r2590245547.

Also, add system and policy tests.

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

Screenshots

@jsoriano jsoriano self-assigned this Dec 4, 2025
@jsoriano
jsoriano requested a review from a team as a code owner December 4, 2025 18:43
@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

cc @jsoriano

@andrewkroh andrewkroh added Integration:nginx_otel_input Nginx (OpenTelemetry) Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labels Dec 4, 2025

@ishleenk17 ishleenk17 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good!

@jsoriano
jsoriano merged commit bfd2f05 into elastic:main Dec 29, 2025
7 checks passed
@jsoriano
jsoriano deleted the nginx-otel-variables-tests branch December 29, 2025 12:36
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

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

@mrodm mrodm mentioned this pull request Feb 3, 2026
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Integration:nginx_otel_input Nginx (OpenTelemetry) Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

4 participants