hsml.deployment_tracing_config #
DeploymentTracingConfig #
Tracing configuration for a serving deployment.
| PARAMETER | DESCRIPTION |
|---|---|
enabled | Whether tracing is enabled. TYPE: |
otel_tracing_storage | Where traces are stored. Allowed values are TYPE: |
input_token_price_per_million_tokens | Optional input token price used to compute trace cost metrics. TYPE: |
output_token_price_per_million_tokens | Optional output token price used to compute trace cost metrics. TYPE: |
sampling_percentage | Percentage of a model deployment's requests to trace, from 0 to 100, for example TYPE: |
active | Whether a model deployment created with tracing records it right now. TYPE: |
duration_days | Days a model deployment's tracing stays on each time it is switched on or the deployment starts, from 1. TYPE: |
active property writable #
Whether a model deployment created with tracing records it right now; None means it does.
active_until property #
active_until: datetime | None
When Hopsworks switches a model deployment's tracing off, in UTC; None before it is first switched on.
duration_days property writable #
duration_days: int | None
Days a model deployment's tracing stays on each time it is switched on; None means 7.
enabled property writable #
Whether tracing is enabled.
expired_at property #
expired_at: datetime | None
When Hopsworks switched tracing off because its duration_days ran out, in UTC, or None.
Cleared when tracing is switched on again.
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.
paused_reason property #
paused_reason: str | None
Why Hopsworks paused tracing on a model or feature view deployment, overriding active, or None.
"DISK_NEARLY_FULL": the online feature store's disk tablespace is nearly full. "MEMORY_NEARLY_FULL": the online feature store's RonDB DataMemory is nearly full. Tracing resumes by itself once both have room again.
sampling_percentage property writable #
Percentage of a model deployment's requests that are traced; None traces 10%.