Skip to main content
Version: v0.7.4

TracerParameters Configuration

TracerParameters(file: Optional[str] = None, root_operation_name: Optional[str] = None, exporter: Optional[str] = None, otlp_endpoint: Optional[str] = None, otlp_insecure: Optional[bool] = None, otlp_timeout: Optional[int] = None, tracer_storage_cls: Optional[str] = None)

Parameters

NameTypeRequiredDescription
filestring❌
The file to store the tracer, e.g. dbgpt_webserver_tracer.jsonl
root_operation_namestring❌
The root operation name of the tracer
exporterstring❌
The exporter of the tracer, e.g. telemetry
otlp_endpointstring❌
The endpoint of the OpenTelemetry Protocol, you can set '${env:OTEL_EXPORTER_OTLP_TRACES_ENDPOINT}' to use the environment variable
otlp_insecureboolean❌
Whether to use insecure connection, you can set '${env:OTEL_EXPORTER_OTLP_TRACES_INSECURE}' to use the environment
otlp_timeoutinteger❌
The timeout of the connection, in seconds, you can set '${env:OTEL_EXPORTER_OTLP_TRACES_TIMEOUT}' to use the environment
tracer_storage_clsstring❌
The class of the tracer storage