Share via


telemetry Package

Classes

AIProjectInstrumentor

A class for managing the trace instrumentation of the AIProjectClient.

This class allows enabling or disabling tracing for AI Projects. and provides functionality to check whether instrumentation is active.

Functions

trace_function

A no-op decorator for tracing function calls when OpenTelemetry is not available.

trace_function(span_name: str | None = None)

Parameters

Name Description
span_name

Not used in this version.

Default value: None

Returns

Type Description

The original function.