Skip to content

Commit 5435fc4

Browse files
committed
Document batchSize config for OTLP registry
Resolves gh-5578
1 parent cb2a3c3 commit 5435fc4

File tree

1 file changed

+5
-3
lines changed
  • docs/modules/ROOT/pages/implementations

1 file changed

+5
-3
lines changed

docs/modules/ROOT/pages/implementations/otlp.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ management:
3131
export:
3232
# Supported configs
3333
url: "https://otlp.example.com:4318/v1/metrics"
34+
batchSize: 15000
3435
aggregationTemporality: "cumulative"
3536
headers:
3637
header1: value1
@@ -39,9 +40,10 @@ management:
3940
----
4041

4142
1. `url` - The URL to which data is reported. Defaults to `http://localhost:4318/v1/metrics`
42-
2. `aggregationTemporality` - https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality[Aggregation temporality, window=_blank] determines how the additive quantities are expressed, in relation to time. The supported values are `cumulative` or `delta`. Defaults to `cumulative`.
43-
3. `headers` - Additional headers to send with exported metrics. This can be used for authorization headers. By default, headers are loaded from the config. If that is not set, they can be taken from the environment variables `OTEL_EXPORTER_OTLP_HEADERS` and `OTEL_EXPORTER_OTLP_METRICS_HEADERS`. If a header is set in both the environmental variables, the header in the latter overrides the former.
44-
4. `resourceAttributes` - https://opentelemetry.io/docs/specs/otel/resource/semantic_conventions/#service[Resource attributes, window=_blank] are used for all metrics published. By default, Micrometer adds the following resource attributes:
43+
2. `batchSize` - number of `Meter` to include in a single payload sent to the backend. The default is 10,000.
44+
3. `aggregationTemporality` - https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality[Aggregation temporality, window=_blank] determines how the additive quantities are expressed, in relation to time. The supported values are `cumulative` or `delta`. Defaults to `cumulative`.
45+
4. `headers` - Additional headers to send with exported metrics. This can be used for authorization headers. By default, headers are loaded from the config. If that is not set, they can be taken from the environment variables `OTEL_EXPORTER_OTLP_HEADERS` and `OTEL_EXPORTER_OTLP_METRICS_HEADERS`. If a header is set in both the environmental variables, the header in the latter overrides the former.
46+
5. `resourceAttributes` - https://opentelemetry.io/docs/specs/otel/resource/semantic_conventions/#service[Resource attributes, window=_blank] are used for all metrics published. By default, Micrometer adds the following resource attributes:
4547

4648
[%autowidth]
4749
|===

0 commit comments

Comments
 (0)