33 lines
No EOL
841 B
Python
33 lines
No EOL
841 B
Python
"""Telemetry package for OpenTelemetry tracing and metrics collection"""
|
|
|
|
from .metrics import app_metrics, time_ai_request, time_job_processing, time_storage_operation, time_celery_task
|
|
from .tracing import (
|
|
get_tracer,
|
|
instrument_dependencies,
|
|
instrument_fastapi_app,
|
|
setup_tracing,
|
|
trace_ai_operation,
|
|
trace_job_pipeline,
|
|
trace_storage_operation,
|
|
TracingContext,
|
|
trace_api_request,
|
|
trace_celery_task,
|
|
)
|
|
|
|
__all__ = [
|
|
"app_metrics",
|
|
"time_ai_request",
|
|
"time_job_processing",
|
|
"time_storage_operation",
|
|
"time_celery_task",
|
|
"get_tracer",
|
|
"instrument_dependencies",
|
|
"instrument_fastapi_app",
|
|
"setup_tracing",
|
|
"trace_ai_operation",
|
|
"trace_job_pipeline",
|
|
"trace_storage_operation",
|
|
"TracingContext",
|
|
"trace_api_request",
|
|
"trace_celery_task",
|
|
] |