AttributeLimitsEnvironmentValues typedef

AttributeLimitsEnvironmentValues = ({int? attributeCountLimit, int? attributeValueLengthLimit})

Raw attribute limit values parsed by OTelEnv.getAttributeLimits.

All fields are nullable — null means the corresponding env var was unset or contained a non-numeric value.

Implementation

typedef AttributeLimitsEnvironmentValues = ({
  /// Parsed from `OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT`
  int? attributeValueLengthLimit,

  /// Parsed from `OTEL_ATTRIBUTE_COUNT_LIMIT`
  int? attributeCountLimit,
});