Public declaration syntax from forge-go/core/telemetry.go Original source SHA-256: f94fa83e72e3f02c451df164dad90536cc5cb87e5d0ad31a3664d9eab6a8789d Function bodies and constant values are omitted. This is not the complete implementation. Source line 11 type SpanStatus string const ( // SpanStatusOK indicates the operation completed successfully. SpanStatusOK SpanStatus; Source line 25 type SpanAttribute struct Source line 31 func NewSpanAttribute(key, value string) SpanAttribute Source line 42 type ForgeSpan struct Source line 72 func (s ForgeSpan) Duration() time.Duration Source line 82 type ForgeEvent struct Source line 102 type TelemetryEmitter interface Source line 115 type NoopEmitter struct Source line 118 func (NoopEmitter) EmitSpan(_ ForgeSpan) Source line 121 func (NoopEmitter) EmitEvent(_ ForgeEvent) Source line 124 func (NoopEmitter) Flush() Source line 128 type InMemoryEmitter struct Source line 135 func NewInMemoryEmitter() *InMemoryEmitter Source line 140 func (e *InMemoryEmitter) EmitSpan(span ForgeSpan) Source line 147 func (e *InMemoryEmitter) EmitEvent(event ForgeEvent) Source line 154 func (e *InMemoryEmitter) Flush() Source line 157 func (e *InMemoryEmitter) Spans() []ForgeSpan Source line 166 func (e *InMemoryEmitter) Events() []ForgeEvent Source line 175 func (e *InMemoryEmitter) Reset()