Package org.apache.solr.metrics.otel.instruments
package org.apache.solr.metrics.otel.instruments
A collection of bound OTEL instruments which are reusable wrappers around OpenTelemetry metric
instruments that are pre-bound to a fixed set of Attributes. This avoids repeated attribute
allocation on every metric recording.
-
ClassesClassDescriptionFactory for creating metrics instruments that can write to either single or dual registries (core and node).This class records the elapsed time (in milliseconds) to a
LongHistogramwith the use of aAttributedLongTimer.MetricTimerAn AttributedLongCounter that writes to both core and node registries with corresponding attributes.An AttributedLongTimer that records to both core and node registries with corresponding attributes.An AttributedLongUpDownCounter that writes to both core and node registries with corresponding attributes.