Skip to content

Consider switching weaver live-check to OTLP-based CI workflow #4652

Description

@cijothomas

The current weaver integration uses a custom ToWeaverJson serializer + Docker file mount to feed telemetry into weaver. It works, but we're maintaining a custom serializer that's coupled to weaver's internal JSON format.

opentelemetry-rust-contrib recently adopted a simpler pattern: a CI workflow starts weaver as an OTLP receiver (using the upstream composite actions), runs the instrumented app with a real OTLP exporter pointing at weaver, then stops and checks findings. No custom serializers, validates the actual wire format.

Examples:

Unit tests stay as-is (InMemoryExporter + direct assertions). The CI workflow just adds the semconv compliance gate on top.

Might be worth considering for here too. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions