You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 529dc6e
Browse filesBrowse the repository at this point in the historyBrowse files
Sets gen_ai.span.kind so spans classify as LLM calls, scopes
WithContentCapture to prompt/completion only so model and usage
survive it, and switches the grpc exporter to WithEndpointURL.
Adds exporter tests for the ingest path and auth headers. Drops the
unused Instrumentor interface and Tracer helper.
Signed-off-by: pmady <[email protected]>
Copy file name to clipboardExpand all lines: go/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ func main() {
53
53
54
54
## Span Attributes
55
55
56
-
Spans follow the [OTel GenAI semantic conventions](https://opentelemetry.io/docs/specs/semconv/gen-ai/) — `gen_ai.system`, `gen_ai.request.model`, `gen_ai.usage.*` tokens, `gen_ai.response.*`, etc. Prompt and completion content is captured by default; disable with `WithContentCapture(false)` for PII-sensitive workloads.
56
+
Spans follow the [OTel GenAI semantic conventions](https://opentelemetry.io/docs/specs/semconv/gen-ai/) — `gen_ai.system`, `gen_ai.request.model`, `gen_ai.usage.*` tokens, `gen_ai.response.*`, etc. Prompt and completion content is captured by default; disable with `WithContentCapture(false)` for PII-sensitive workloads. Only `gen_ai.prompt` and `gen_ai.completion` are gated by that toggle — model, token usage, response id and finish reasons are always recorded.
0 commit comments