SandboxMetricDescriptor

class baseten.client.managementapi.SandboxMetricDescriptor(*, name, unit_hint, kind, label_sets)

Bases: BaseModel

Parameters:
  • name (Literal['baseten_sandbox_requests_total', 'baseten_sandbox_cpu_usage_cores', 'baseten_sandbox_memory_bytes'] | str)

  • unit_hint (Literal['COUNT', 'CORES', 'BYTES'] | str)

  • kind (Literal['GAUGE', 'COUNTER'] | str)

  • label_sets (Annotated[list[dict[str, str]], MaxLen(max_length=3)])

model_config = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].