Open dyladan opened 9 months ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
Background
Our current internal format for exportable telemetry like spans and metrics (and maybe events) does not match the format expected by the
protobuf
serialization library we are using. In order to serialize protobuf, this means we have to create new objects with new property names, recursively, for every exported object.We cannot change the internal representation, because it would be a breaking change for exporter interfaces. Specifically, the
SpanProcessor
,MetricReader
, andExporter
interfaces expect our existing internal formats.The problem
The overhead for this is quite substantial in a few different ways:
Potential Solutions