datadog_observability_driver
DatadogObservabilityDriver
Bases: OpenTelemetryObservabilityDriver
DatadogObservabilityDriver
Bases: OpenTelemetryObservabilityDriver
griptape/drivers/observability/datadog_observability_driver.py
datadog_agent_endpoint: str = field(default=Factory(lambda: os.getenv('DD_AGENT_ENDPOINT', 'http://localhost:4318')), kw_only=True)
class-attribute
instance-attribute
span_processor: SpanProcessor = field(default=Factory(lambda self: import_optional_dependency('opentelemetry.sdk.trace.export').BatchSpanProcessor(import_optional_dependency('opentelemetry.exporter.otlp.proto.http.trace_exporter').OTLPSpanExporter(endpoint=f'{self.datadog_agent_endpoint}/v1/traces')), takes_self=True), kw_only=True)
class-attribute
instance-attribute