Skip to content

hsml.deployment_tracing_config #

DeploymentTracingConfig #

Tracing configuration for a serving deployment.

PARAMETER DESCRIPTION
enabled

Whether tracing is enabled.

TYPE: bool | None DEFAULT: None

otel_tracing_storage

Where traces are stored. Allowed values are online, offline and both. Defaults to online.

TYPE: str | None DEFAULT: STORAGE_ONLINE

input_token_price_per_million_tokens

Optional input token price used to compute trace cost metrics.

TYPE: float | None DEFAULT: None

output_token_price_per_million_tokens

Optional output token price used to compute trace cost metrics.

TYPE: float | None DEFAULT: None

enabled property writable #

Whether tracing is enabled.

input_token_price_per_million_tokens property writable #

Optional input token price used to compute trace cost metrics.

otel_tracing_storage property writable #

Where traces are stored.

output_token_price_per_million_tokens property writable #

Optional output token price used to compute trace cost metrics.

describe #

describe()

Print a JSON description of the tracing configuration.