Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTLP Exporter configuration option #1026

Open
MichaelBriggs-Coralogix opened this issue Jan 24, 2025 · 0 comments
Open

OTLP Exporter configuration option #1026

MichaelBriggs-Coralogix opened this issue Jan 24, 2025 · 0 comments

Comments

@MichaelBriggs-Coralogix

Describe your use-case which is not covered by existing documentation.

Though there are ways to configure the Java OTEL SDK to submit logs to OTLP endpoint using environment variables, this functionality is not well documented.

There are clues in the Elastic documentation about settings you can make to accomplish this use case, but it's not straight forward for somebody unfamiliar with the SDK.

It would also be desirable to have these configuration options available in the configuration modal of the plugin.

As I understand it, the following settings will accomplish this task if added to the "Configuration Properties":

otel.logs.exporter=otlp
otel.logs.mirror_to_disk=true

The second option there seems to be required if we want to still see the logs in Jenkins instead of only in our observability platform.

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

There appears to be some considerable documentation here, but it's not very clear:
https://github.com/jenkinsci/opentelemetry-plugin/blob/f8bd70b48ac230e9636f2dc07c24dd3a4ff5f955/docs/build-logs.md#can-pipeline-logs-be-stored-in-other-backends-than-elastic-or-grafana

Are you interested in contributing to the documentation?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant