Class DualRegistryAttributedLongCounter
java.lang.Object
org.apache.solr.metrics.otel.instruments.AttributedLongCounter
org.apache.solr.metrics.otel.instruments.DualRegistryAttributedLongCounter
An AttributedLongCounter that writes to both core and node registries with corresponding
attributes.
-
Constructor Summary
ConstructorsConstructorDescriptionDualRegistryAttributedLongCounter(io.opentelemetry.api.metrics.LongCounter coreCounter, io.opentelemetry.api.common.Attributes coreAttributes, io.opentelemetry.api.metrics.LongCounter nodeCounter, io.opentelemetry.api.common.Attributes nodeAttributes) -
Method Summary
Methods inherited from class org.apache.solr.metrics.otel.instruments.AttributedLongCounter
inc
-
Constructor Details
-
DualRegistryAttributedLongCounter
public DualRegistryAttributedLongCounter(io.opentelemetry.api.metrics.LongCounter coreCounter, io.opentelemetry.api.common.Attributes coreAttributes, io.opentelemetry.api.metrics.LongCounter nodeCounter, io.opentelemetry.api.common.Attributes nodeAttributes)
-
-
Method Details
-
add
- Overrides:
addin classAttributedLongCounter
-