You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p><em>* The configuration <code>histogramFlavor</code>determines whether the OTLP DataPoint is a Histogram/Exponential Histogram.</em></p>
767
+
<p><em>* The configuration <code>histogramFlavorPerMeter</code> and <code>histogramFlavor</code>determine whether the OTLP DataPoint is a Histogram/Exponential Histogram.</em></p>
768
768
</div>
769
769
<divclass="paragraph">
770
-
<p><code>OtlpMeterRegistry</code> supports 2 types of Histogram implementations (1.Explicit Bucket Histogram (or simply called Histogram), 2. Exponential Histogram) when <code>publishPercentileHistogram</code> is configured. The choice is chosen by setting <code>histogramFlavor</code> in <code>OtlpConfig</code> used by registry. When the implementation is exponential histogram, it also supports 2 additional properties</p>
770
+
<p><code>OtlpMeterRegistry</code> supports 2 types of Histogram implementations (1.Explicit Bucket Histogram (or simply called Histogram), 2. Exponential Histogram) when <code>publishPercentileHistogram</code> is configured.
771
+
The type is determined by <code>histogramFlavorPerMeter</code> and <code>histogramFlavor</code> in <code>OtlpConfig</code> used by the registry.
772
+
When the implementation is the exponential histogram, additional configuration applies:</p>
771
773
</div>
772
774
<divclass="olist arabic">
773
775
<olclass="arabic">
774
776
<li>
775
-
<p>maxScale used to cap the maximum <ahref="https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponential-scale" target="_blank" rel="noopener">scale</a> used by the Exponential Histogram (defaults to 20).</p>
777
+
<p><code>maxScale</code> used to cap the maximum <ahref="https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponential-scale" target="_blank" rel="noopener">scale</a> used by the Exponential Histogram (defaults to 20).</p>
776
778
</li>
777
779
<li>
778
-
<p>maxBuckets determines the maximum number of <ahref="https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponential-buckets" target="_blank" rel="noopener">buckets</a> to be used for exponential histograms (defaults to 160).</p>
780
+
<p><code>maxBuckets</code> determines the maximum number of <ahref="https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponential-buckets" target="_blank" rel="noopener">buckets</a> to be used for exponential histograms (defaults to 160).</p>
781
+
</li>
782
+
<li>
783
+
<p><code>maxBucketsPerMeter</code> overrides <code>maxBuckets</code> for specific meter names, giving more fine-grained configurability.</p>
779
784
</li>
780
785
</ol>
781
786
</div>
782
787
<divclass="paragraph">
783
-
<p>Since Exponential Histogram cannot have custom SLO’s specified, explicit bucket histogram is used whenever <code>serviceLevelObjectives</code> are added.</p>
788
+
<p>Since Exponential Histogram cannot have custom SLO’s specified, an explicit bucket histogram is used whenever <code>serviceLevelObjectives</code> are configured.</p>
784
789
</div>
785
790
<divclass="sect2">
786
791
<h3id="_configuration_with_spring_boot"><aclass="anchor" href="#_configuration_with_spring_boot"></a>5.1. Configuration with Spring Boot</h3>
0 commit comments