TraceConfig - Go SDK

TraceConfig type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.

Fields

FieldTypeRequiredDescriptionExample
TraceID*stringâž–N/A
TraceName*stringâž–N/A
SpanName*stringâž–N/A
GenerationName*stringâž–N/A
ParentSpanID*stringâž–N/A
AdditionalPropertiesmap[string]anyâž–N/A{"trace_id": "trace-abc123","trace_name": "my-app-trace"}