Skip to content

Name the store holding the span a GenAI evaluation was produced from - #177

Merged
wu-sheng merged 1 commit into
masterfrom
genai-evaluation-trace-storage
Oct 19, 2026
Merged

wu-sheng merged 1 commit into
masterfrom
genai-evaluation-trace-storage

Conversation

@wu-sheng

@wu-sheng wu-sheng commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

GenAITraceRef.type is the span's addressing scheme, and an OTLP reference can point into two different stores: OTLP spans stored as received (receiver-otel otlpTraceStorage: otlp, the default), and Zipkin spans, either received by receiver-zipkin or converted from OTLP with otlpTraceStorage: zipkin. receiver-zipkin runs independently of otlpTraceStorage, so one OAP can hold judged spans in both, and a client has no way to tell which one to read the trace from.

This adds GenAITraceRef.storage: GenAITraceStorage (SKYWALKING_NATIVE, OTLP, ZIPKIN). type is unchanged: it stays the addressing scheme, and GenAITraceScopeCondition keeps matching OTLP and Zipkin spans the same way. storage is null only on an OTLP-addressed record written before the store was recorded.

Implementation: apache/skywalking#14152, which points its submodule at this branch.

@wu-sheng
wu-sheng merged commit 08ac952 into master Oct 19, 2026
@wu-sheng
wu-sheng deleted the genai-evaluation-trace-storage branch October 19, 2026 00:04
wu-sheng added a commit to apache/skywalking that referenced this pull request Oct 19, 2026
wu-sheng added a commit that referenced this pull request Oct 19, 2026
…aceStorage (#178)

Reverts #177. GenAITraceRefType itself now names the store holding the
span an evaluation was produced from: SKYWALKING_NATIVE, OTLP for OTLP
spans stored as received (receiver-otel `otlpTraceStorage: otlp`), and
the new ZIPKIN for spans received by receiver-zipkin or converted from
OTLP with `otlpTraceStorage: zipkin`. OTLP and Zipkin spans are both
addressed by trace ID and span ID. The separate GenAITraceRef.storage
field and GenAITraceStorage enum from #177 are removed; no release
shipped them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant