Skip to content

OtelZap Doc out of Sync? #144

@arun0009

Description

@arun0009

OtelZap Readme says you can pass in option otelzap.WithTraceIDField(true) but don't see that func available. How do we get traces in latest version?

Currently I have below helper method as a workaround:

otelzap.S().With("trace_id", sc.TraceID.String(), "span_id", sc.SpanID().String(),)

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