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
GenerationName*stringN/A
ParentSpanID*stringN/A
SpanName*stringN/A
TraceID*stringN/A
TraceName*stringN/A
AdditionalPropertiesmap[string]anyN/A{"trace_id": "trace-abc123","trace_name": "my-app-trace"}