Skip to content

Send Logstash Metrics via OTLP#18857

Open
estolfo wants to merge 17 commits intoelastic:mainfrom
estolfo:metrics-otlp
Open

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

Conversation

@estolfo
Copy link
Copy Markdown
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 but they can be calculated using the values that are reported.

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
Copy Markdown
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
Copy Markdown
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

@estolfo estolfo marked this pull request as ready for review April 1, 2026 15:43
@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

@andsel andsel self-requested a review April 7, 2026 08:41
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