MetricDescriptor

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

Bases: BaseModel

Parameters:
  • name (str)

  • unit_hint (Literal['PER_SECOND', 'SECONDS', 'BYTES', 'MEBIBYTES', 'COUNT', 'RATIO', 'CELSIUS', 'WATTS'] | str)

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

  • label_sets (list[dict[str, str]])

model_config = {}

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