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
Name | Type | Required | Description |
---|---|---|---|
root_operation_name | string | ❌ | The root operation name of the tracer |
exporter | string | ❌ | The exporter of the tracer, e.g. telemetry |
otlp_endpoint | string | ❌ | The endpoint of the OpenTelemetry Protocol, you can set '${env:OTEL_EXPORTER_OTLP_TRACES_ENDPOINT}' to use the environment variable |
otlp_insecure | boolean | ❌ | Whether to use insecure connection, you can set '${env:OTEL_EXPORTER_OTLP_TRACES_INSECURE}' to use the environment |
otlp_timeout | integer | ❌ | The timeout of the connection, in seconds, you can set '${env:OTEL_EXPORTER_OTLP_TRACES_TIMEOUT}' to use the environment |
tracer_storage_cls | string | ❌ | The class of the tracer storage |
file | string | ❌ | The file to store the tracer, e.g. dbgpt_webserver_tracer.jsonl |