ocaml-opentelemetry
ocaml-opentelemetry copied to clipboard
Traceid and spanid should be optional in a log record
According to https://opentelemetry.io/docs/specs/otel/logs/data-model/ traceid and spanid should be optional in a log record.
dully noted. could we use dummy trace_id/span_id to avoid the option?
Your suggestion is to always export a trace_id/span_id, but a dummy one if none is provided by the user?
Why do you prefer to have that than an option?