nat.observability.mixin.batch_config_mixin#
Classes#
Mixin for telemetry exporters that require batching. |
Module Contents#
- class BatchConfigMixin(/, **data: Any)#
Bases:
pydantic.BaseModelMixin for telemetry exporters that require batching.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.