Repository navigation
v1.1.0-beta.3
Pre-release
Pre-release
·
113 commits
to main
since this release
Added
- OTLP/HTTP-JSON wire format on all three signals.
OtlpHttpSpanExporter,OtlpHttpMetricExporter, andOtlpHttpLogRecordExporternow accept anOtlpHttpProtocolconfig option — defaults tohttpProtobuf(unchanged behaviour), set tohttpJsonto send proto3-JSON-encoded payloads withContent-Type: application/json. The encoding follows the OTLP spec's proto3-to-JSON mapping (request.toProto3Json()on the generated protobuf classes), so no hand-rolled JSON marshaling lives in Dartastic. Wire-up viaOTEL_EXPORTER_OTLP_PROTOCOL=http/json(or signal-specific_TRACES_PROTOCOL/_METRICS_PROTOCOL/_LOGS_PROTOCOL) flows throughOTel.initialize. Per spec,http/jsonisMAY-support, notMUST— adding it lives up to Dartastic's "No skimping: if it's optional in the spec, it's included" promise. Unblocks integration with backends that prefer JSON (Genkit dev UI, browser-based viewers, lightweight collectors).