Skip to content

Send Logstash Metrics via OTLP#18857

Draft
estolfo wants to merge 14 commits intoelastic:mainfrom
estolfo:metrics-otlp
Draft

Send Logstash Metrics via OTLP#18857
estolfo wants to merge 14 commits intoelastic:mainfrom
estolfo:metrics-otlp

Conversation

@estolfo
Copy link
Contributor

@estolfo estolfo commented Mar 13, 2026

Release notes

What does this PR do?

This PR adds a new way to collect and export metrics from Logstash. It adds the Java OTel SDK that is used to register and collect metrics and export them to an OTLP endpoint.

As many of the existing metrics available in Logstash are exported as possible. The only metrics not exported are FlowRate metrics.

ToDo:

  • add documentation
  • Add more detailed PR description

Why is it important/What is the impact to the user?

Checklist

  • 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 (and/or docker env variables)
  • I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

@github-actions
Copy link
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)
  • run exhaustive tests : Run the exhaustive tests Buildkite pipeline.

@mergify
Copy link
Contributor

mergify bot commented Mar 13, 2026

This pull request does not have a backport label. Could you fix it @estolfo? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • If no backport is necessary, please add the backport-skip label

@elasticmachine
Copy link

elasticmachine commented Mar 17, 2026

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.

2 participants