Skip to content

[Otellogrus] Migration to otel logs signal #146

@steve-hb

Description

@steve-hb

Hi,

I'm aware the otelzap package migrated to opentelemetry logs signals. Therefore my questions are:

  1. Is there a reason for the differentiation between how different packages of this repository process logs? (span events vs log records)
  2. Is uptrace aware of the migration problems due to changing the protocol used? (see v0.3.x doesn't emit log messages as span events #143 (comment) for more context)
  3. Are there plans to migrate otellogrus or extending the capability of this repository to emit both - the log signal and the span event for all logging hooks? Of course this may lead to duplicate entries for setups where the pipeline or backend knows how to handle both simultaneously. Maybe the uptrace team has an opinion on this.

I'm sure the migration to just wrap the official package for otel-go is the right move in the long run, but imo it should be aligned across vendor hooks here and migration headaches should be considered before silently switching implementations affecting app and network/tool configuration.

For example: We've contributed to Grafana Alloy to support span events as logs via transformers, therefore our current setup relies on this fact. A sudden change in where and how logs are transmitted needs to be handled explicitly.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions