Definition
/**
* Create MetricLimits configuration.
*
* MetricLimits controls the maximum cardinality (unique attribute combinations)
* per metric instrument, preventing memory exhaustion from high-cardinality attributes.
*
* When the cardinality limit is exceeded, new attribute combinations are aggregated
* into an overflow data point with `otel.metric.overflow: true` attribute.
*
* Note: Unlike spans and logs, metrics are EXEMPT from attribute count and value
* length limits per the OpenTelemetry specification. Only cardinality is limited.
*
* @param int $cardinalityLimit Maximum number of unique attribute combinations per instrument
*/
metric_limits(int $cardinalityLimit) : MetricLimits