weaver
weaver copied to clipboard
Support span type in live-check
The Span type OTEP adds a top-level type field to OTLP spans, identifying the semconv span definition the span follows (same value as spans[].type in schema v2). Live check should use it to resolve observed spans to their definitions.
Related: semantic-conventions#4241 (span type naming and policies).
- [ ] Ingest span type from OTLP (after proto release) and JSON/text ingesters (now); expose it to CEL matchers as
type. - [ ] Resolve span to definition by
typewithout a matcher; configured matchers still apply to untyped spans. - [ ] Advice: unknown span type (not in registry), kind mismatch with definition, type conflicting with matcher result.
- [ ] Coverage/stats: report span definitions by type.