참고소스 수정본
This commit is contained in:
38
참고/guardrails-main/guardrails/telemetry/__init__.py
Normal file
38
참고/guardrails-main/guardrails/telemetry/__init__.py
Normal file
@@ -0,0 +1,38 @@
|
||||
from guardrails.telemetry.common import (
|
||||
wrap_with_otel_context,
|
||||
)
|
||||
from guardrails.telemetry.default_otlp_tracer_mod import default_otlp_tracer
|
||||
from guardrails.telemetry.default_otel_collector_tracer_mod import (
|
||||
default_otel_collector_tracer,
|
||||
)
|
||||
from guardrails.telemetry.guard_tracing import (
|
||||
trace_guard_execution,
|
||||
trace_async_guard_execution,
|
||||
)
|
||||
from guardrails.telemetry.open_inference import trace_llm_call, trace_operation
|
||||
from guardrails.telemetry.runner_tracing import (
|
||||
trace_step,
|
||||
trace_async_step,
|
||||
trace_stream_step,
|
||||
trace_async_stream_step,
|
||||
trace_call,
|
||||
trace_async_call,
|
||||
)
|
||||
from guardrails.telemetry.validator_tracing import trace_validator
|
||||
|
||||
__all__ = [
|
||||
"default_otel_collector_tracer",
|
||||
"default_otlp_tracer",
|
||||
"wrap_with_otel_context",
|
||||
"trace_guard_execution",
|
||||
"trace_async_guard_execution",
|
||||
"trace_llm_call",
|
||||
"trace_operation",
|
||||
"trace_step",
|
||||
"trace_async_step",
|
||||
"trace_stream_step",
|
||||
"trace_async_stream_step",
|
||||
"trace_call",
|
||||
"trace_async_call",
|
||||
"trace_validator",
|
||||
]
|
||||
Reference in New Issue
Block a user