SpanLimits constructor
SpanLimits({})
constructor https://docs.newrelic.com/docs/data-apis/manage-data/view-system-limits/ https://github.com/open-telemetry/videosdk_otel-java/blob/main/sdk/trace/src/main/java/io/videosdk_otel/sdk/trace/SpanLimitsBuilder.java
Implementation
SpanLimits({
int? maxNumAttributes,
int? maxNumEvents,
int? maxNumLink,
int? maxNumAttributesPerEvent,
int? maxNumAttributesPerLink,
int? maxNumAttributeLength,
}) : _maxNumAttributes = maxNumAttributes ?? _DEFAULT_MAXNUM_ATTRIBUTES,
_maxNumEvents = maxNumEvents ?? _DEFAULT_MAXNUM_EVENTS,
_maxNumLink = maxNumLink ?? _DEFAULT_MAXNUM_LINKS,
_maxNumAttributesPerEvent =
maxNumAttributesPerEvent ?? _DEFAULT_MAXNUM_ATTRIBUTE_PER_EVENT,
_maxNumAttributesPerLink =
maxNumAttributesPerLink ?? _DEFAULT_MAXNUM_ATTRIBUTES_PER_LINK,
_maxNumAttributeLength =
maxNumAttributeLength ?? _DEFAULT_MAXNUM_ATTRIBUTES_LENGTH;