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 int
private final int
private final int
private final int
private final int
private final int
Fields 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 TypeMethodDescriptionboolean
int
OverrideSpanLimits.getMaxAttributeValueLength()
to be abstract so autovalue can implement it.int
Returns the max number of attributes perSpan
.int
Returns the max number of attributes per event.int
Returns the max number of attributes per link.int
Returns the max number of events perSpan
.int
Returns the max number of links perSpan
.int
hashCode()
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:SpanLimits
Returns the max number of attributes perSpan
.- Specified by:
getMaxNumberOfAttributes
in classSpanLimits
- Returns:
- the max number of attributes per
Span
.
-
getMaxNumberOfEvents
public int getMaxNumberOfEvents()Description copied from class:SpanLimits
Returns the max number of events perSpan
.- Specified by:
getMaxNumberOfEvents
in classSpanLimits
- Returns:
- the max number of events per
Span
.
-
getMaxNumberOfLinks
public int getMaxNumberOfLinks()Description copied from class:SpanLimits
Returns the max number of links perSpan
.- Specified by:
getMaxNumberOfLinks
in classSpanLimits
- Returns:
- the max number of links per
Span
.
-
getMaxNumberOfAttributesPerEvent
public int getMaxNumberOfAttributesPerEvent()Description copied from class:SpanLimits
Returns the max number of attributes per event.- Specified by:
getMaxNumberOfAttributesPerEvent
in classSpanLimits
- Returns:
- the max number of attributes per event.
-
getMaxNumberOfAttributesPerLink
public int getMaxNumberOfAttributesPerLink()Description copied from class:SpanLimits
Returns the max number of attributes per link.- Specified by:
getMaxNumberOfAttributesPerLink
in classSpanLimits
- Returns:
- the max number of attributes per link.
-
getMaxAttributeValueLength
public int getMaxAttributeValueLength()Description copied from class:SpanLimits.SpanLimitsValue
OverrideSpanLimits.getMaxAttributeValueLength()
to be abstract so autovalue can implement it.- Specified by:
getMaxAttributeValueLength
in classSpanLimits.SpanLimitsValue
- Returns:
- the max number of characters for attribute strings.
-
toString
-
equals
-
hashCode
public int hashCode()
-