Skip to content

Support OpenTelemetry events #19260

@danelson

Description

@danelson

Is your feature request related to a problem? Please describe.
OpenTelemetry supports "Events" which are essentially LogRecordss with an additional EventName field. This field is not visible when sending logs to Loki over OTLP.

Using the example payload from https://github.com/open-telemetry/opentelemetry-proto/blob/main/examples/events.json (changing timestamp). Observe that browser.page_view is not visible.

Image

Describe the solution you'd like
At a minimum I would like the EventName to be visible and searchable. I am not sure how it should map to Loki, e.g. label or structured metadata.

Describe alternatives you've considered
None

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    opentelemetryEverything related to OpenTelemetry OTLP OTeltype/featureSomething new we should do

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions