Skip to content

Commit 2e0093c

Browse files
Deploying to gh-pages from @ micrometer-metrics/micrometer@8af6125 🚀
1 parent 85acde8 commit 2e0093c

File tree

3 files changed

+553
-548
lines changed

3 files changed

+553
-548
lines changed

micrometer/reference/1.15-SNAPSHOT/implementations/otlp.html

+10-5
Original file line numberDiff line numberDiff line change
@@ -764,23 +764,28 @@ <h2 id="_histograms_and_percentiles"><a class="anchor" href="#_histograms_and_pe
764764
</tbody>
765765
</table>
766766
<div class="paragraph">
767-
<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>
768768
</div>
769769
<div class="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>
771773
</div>
772774
<div class="olist arabic">
773775
<ol class="arabic">
774776
<li>
775-
<p>maxScale used to cap the maximum <a href="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 <a href="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>
776778
</li>
777779
<li>
778-
<p>maxBuckets determines the maximum number of <a href="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 <a href="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>
779784
</li>
780785
</ol>
781786
</div>
782787
<div class="paragraph">
783-
<p>Since Exponential Histogram cannot have custom SLO&#8217;s specified, explicit bucket histogram is used whenever <code>serviceLevelObjectives</code> are added.</p>
788+
<p>Since Exponential Histogram cannot have custom SLO&#8217;s specified, an explicit bucket histogram is used whenever <code>serviceLevelObjectives</code> are configured.</p>
784789
</div>
785790
<div class="sect2">
786791
<h3 id="_configuration_with_spring_boot"><a class="anchor" href="#_configuration_with_spring_boot"></a>5.1. Configuration with Spring Boot</h3>

micrometer/reference/site-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$id": "https://schemas.antora.org/site-manifest/1-0-0/draft-01",
3-
"generated": "2025-03-10T11:45:00.975Z",
3+
"generated": "2025-03-11T01:19:49.796Z",
44
"url": "https://docs.micrometer.io/micrometer/reference",
55
"components": {
66
"micrometer": {

0 commit comments

Comments
 (0)