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

Extract log entries from events #2427

Open
steve-hb opened this issue Jan 16, 2025 · 0 comments · May be fixed by #2433
Open

Extract log entries from events #2427

steve-hb opened this issue Jan 16, 2025 · 0 comments · May be fixed by #2433
Labels
enhancement New feature or request

Comments

@steve-hb
Copy link

Request

Alloy should be able to extract logs from otel span events using e.g. otelcol.connector.spanlogs.
Currently only the spanmetrics connector supports extracting events, but does not seem suitable for getting the logs into e.g. Loki.

Use case

Some libraries (e.g. uptrace otellogrus) have the (imo positive) tendency to put logs into span events improving the context of a structured log entry with the data available on the trace. Since other vendors (Elastic, Uptrace, Honeycomb) support this natively, I don't see the point not having this on Alloy.

Also the overhead of having more than one batch per application request (e.g. on Lambda when doing push ingestion for fast ingestion), would increase cost and complexity for many.
There is also a discussion about this on the otel collector: open-telemetry/opentelemetry-collector-contrib#3447

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

Successfully merging a pull request may close this issue.

1 participant