Public declaration syntax from forge-py/src/forge/core/telemetry.py Original source SHA-256: 527738083224d5d969d059dee445d628d492c6027a806be24d36febe34466595 Function bodies and constant values are omitted. This is not the complete implementation. Source line 25 class SpanAttributeString() Source line 32 class SpanAttributeInt() Source line 39 class SpanAttributeFloat() Source line 46 class SpanAttributeBool() Source line 55 def to_span_attribute(value: str | int | float | bool) -> SpanAttribute Source line 79 def span_attribute_value(attr: SpanAttribute) -> str | int | float | bool Source line 93 class SpanStatusCode(Enum) Source line 102 class SpanStatusUnset() Source line 109 class SpanStatusOk() Source line 116 class SpanStatusError() Source line 133 class ForgeSpan() Source line 156 def set_attribute(self, key: str, value: str | int | float | bool) -> None Source line 165 def end(self) -> None Source line 169 def end_with_error(self, message: str) -> None Source line 178 def with_parent(self, parent_id: str) -> ForgeSpan Source line 192 class ForgeEvent() Source line 210 def set_attribute(self, key: str, value: str | int | float | bool) -> None Source line 222 class TelemetryEmitter(ABC) Source line 230 def emit_span(self, span: ForgeSpan) -> None Source line 238 def emit_event(self, event: ForgeEvent) -> None Source line 246 class NoopEmitter(TelemetryEmitter) Source line 249 def emit_span(self, span: ForgeSpan) -> None Source line 252 def emit_event(self, event: ForgeEvent) -> None Source line 256 class RecordingEmitter(TelemetryEmitter) Source line 268 def __init__(self) -> None Source line 272 def emit_span(self, span: ForgeSpan) -> None Source line 280 def emit_event(self, event: ForgeEvent) -> None