Skip to content

Suggestions to #260682#5

Merged
gsoldevila merged 2 commits intogsoldevila:feat/otel-log-appenderfrom
afharo:otel-log-appender/suggestions
Apr 23, 2026
Merged

Suggestions to #260682#5
gsoldevila merged 2 commits intogsoldevila:feat/otel-log-appenderfrom
afharo:otel-log-appender/suggestions

Conversation

@afharo
Copy link
Copy Markdown

@afharo afharo commented Apr 22, 2026

Summary

I've been playing locally with elastic#260682, and I came up with the following suggestions for improvements.

Also some (like the grpc exporter) come from https://docs.google.com/document/d/12IZxcX5uoFWvIhfff1I3DwRVMt8ab6tNkaIKs-Fx8Y8/edit?tab=t.0

case 'http': {
// No need to import the module at the top if not used in the switch statement.
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { OTLPLogExporter } = require('@opentelemetry/exporter-logs-otlp-http');
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Love it! 👏🏼

@gsoldevila gsoldevila merged commit d73214f into gsoldevila:feat/otel-log-appender Apr 23, 2026
@afharo afharo deleted the otel-log-appender/suggestions branch April 23, 2026 13:45
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

Successfully merging this pull request may close these issues.

2 participants