Package io.opentelemetry.sdk.trace
Class AutoValue_SpanLimits_SpanLimitsValue
java.lang.Object
io.opentelemetry.sdk.trace.SpanLimits
io.opentelemetry.sdk.trace.SpanLimits.SpanLimitsValue
io.opentelemetry.sdk.trace.AutoValue_SpanLimits_SpanLimitsValue
-
Nested Class Summary
Nested classes/interfaces inherited from class io.opentelemetry.sdk.trace.SpanLimits
SpanLimits.SpanLimitsValue -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final intprivate final intprivate final intprivate final intFields inherited from class io.opentelemetry.sdk.trace.SpanLimits
DEFAULT_SPAN_MAX_ATTRIBUTE_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_SpanLimits_SpanLimitsValue(int maxNumberOfAttributes, int maxNumberOfEvents, int maxNumberOfLinks, int maxNumberOfAttributesPerEvent, int maxNumberOfAttributesPerLink, int maxAttributeValueLength) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintOverrideSpanLimits.getMaxAttributeValueLength()to be abstract so autovalue can implement it.intReturns the max number of attributes perSpan.intReturns the max number of attributes per event.intReturns the max number of attributes per link.intReturns the max number of events perSpan.intReturns the max number of links perSpan.inthashCode()toString()Methods inherited from class io.opentelemetry.sdk.trace.SpanLimits
builder, create, getDefault, toBuilder
-
Field Details
-
maxNumberOfAttributes
private final int maxNumberOfAttributes -
maxNumberOfEvents
private final int maxNumberOfEvents -
maxNumberOfLinks
private final int maxNumberOfLinks -
maxNumberOfAttributesPerEvent
private final int maxNumberOfAttributesPerEvent -
maxNumberOfAttributesPerLink
private final int maxNumberOfAttributesPerLink -
maxAttributeValueLength
private final int maxAttributeValueLength
-
-
Constructor Details
-
AutoValue_SpanLimits_SpanLimitsValue
AutoValue_SpanLimits_SpanLimitsValue(int maxNumberOfAttributes, int maxNumberOfEvents, int maxNumberOfLinks, int maxNumberOfAttributesPerEvent, int maxNumberOfAttributesPerLink, int maxAttributeValueLength)
-
-
Method Details
-
getMaxNumberOfAttributes
public int getMaxNumberOfAttributes()Description copied from class:SpanLimitsReturns the max number of attributes perSpan.- Specified by:
getMaxNumberOfAttributesin classSpanLimits- Returns:
- the max number of attributes per
Span.
-
getMaxNumberOfEvents
public int getMaxNumberOfEvents()Description copied from class:SpanLimitsReturns the max number of events perSpan.- Specified by:
getMaxNumberOfEventsin classSpanLimits- Returns:
- the max number of events per
Span.
-
getMaxNumberOfLinks
public int getMaxNumberOfLinks()Description copied from class:SpanLimitsReturns the max number of links perSpan.- Specified by:
getMaxNumberOfLinksin classSpanLimits- Returns:
- the max number of links per
Span.
-
getMaxNumberOfAttributesPerEvent
public int getMaxNumberOfAttributesPerEvent()Description copied from class:SpanLimitsReturns the max number of attributes per event.- Specified by:
getMaxNumberOfAttributesPerEventin classSpanLimits- Returns:
- the max number of attributes per event.
-
getMaxNumberOfAttributesPerLink
public int getMaxNumberOfAttributesPerLink()Description copied from class:SpanLimitsReturns the max number of attributes per link.- Specified by:
getMaxNumberOfAttributesPerLinkin classSpanLimits- Returns:
- the max number of attributes per link.
-
getMaxAttributeValueLength
public int getMaxAttributeValueLength()Description copied from class:SpanLimits.SpanLimitsValueOverrideSpanLimits.getMaxAttributeValueLength()to be abstract so autovalue can implement it.- Specified by:
getMaxAttributeValueLengthin classSpanLimits.SpanLimitsValue- Returns:
- the max number of characters for attribute strings.
-
toString
-
equals
-
hashCode
public int hashCode()
-