Skip to main content

AdditionalLabelsOption

AdditionalLabelsOption instructs the labeled metric to expect additional labels scoped for this just this metric in the context passed.

Attributes

AttributeTypeDescription
Labels[]stringA collection of labels to look for in the passed context.

Methods


isMetricOption()

@classmethod
def isMetricOption() - > boolean

Determines if the AdditionalLabelsOption is a metric option. This method is used to satisfy an interface or type requirement, indicating that this struct can be treated as a metric configuration option.

Returns

TypeDescription
booleanAlways returns true, signifying that this option is indeed a metric option.