Skip to content

Commit bb6458e

Browse files
committed
format
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 9fd64d5 commit bb6458e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

prometheus-metrics-config/src/main/java/io/prometheus/metrics/config/ExporterOpenTelemetryProperties.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77
/**
88
* Properties for configuring the OpenTelemetry exporter.
99
*
10-
* <p>These properties can be configured via {@code prometheus.properties}, system properties, or programmatically.
10+
* <p>These properties can be configured via {@code prometheus.properties}, system properties, or
11+
* programmatically.
1112
*
1213
* <p>All properties are prefixed with {@code io.prometheus.exporter.opentelemetry}.
1314
*
1415
* <p>Available properties:
16+
*
1517
* <ul>
1618
* <li>{@code protocol} - OTLP protocol: {@code "grpc"} or {@code "http/protobuf"}
1719
* <li>{@code endpoint} - OTLP endpoint URL
@@ -25,7 +27,9 @@
2527
* <li>{@code resourceAttributes} - Additional resource attributes
2628
* </ul>
2729
*
28-
* @see <a href="https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/">OpenTelemetry SDK Environment Variables</a>
30+
* @see <a
31+
* href="https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/">OpenTelemetry
32+
* SDK Environment Variables</a>
2933
*/
3034
public class ExporterOpenTelemetryProperties {
3135

@@ -211,7 +215,8 @@ public Builder endpoint(String endpoint) {
211215
}
212216

213217
/**
214-
* Add an HTTP header to be applied to outgoing requests. Call multiple times to add multiple headers.
218+
* Add an HTTP header to be applied to outgoing requests. Call multiple times to add multiple
219+
* headers.
215220
*
216221
* <p>See OpenTelemetry's <a
217222
* href="https://opentelemetry.io/docs/concepts/sdk-configuration/otlp-exporter-configuration/#otel_exporter_otlp_headers">OTEL_EXPORTER_OTLP_HEADERS</a>.

0 commit comments

Comments
 (0)