Uses of Class
io.prometheus.metrics.exporter.opentelemetry.OpenTelemetryExporter.Builder
-
Uses of OpenTelemetryExporter.Builder in io.prometheus.metrics.exporter.opentelemetry
Modifier and TypeMethodDescriptionOpenTelemetryExporter.builder()
OpenTelemetryExporter.builder
(PrometheusProperties config) The OTLP endpoint to send metric data to.Add an HTTP header to be applied to outgoing requests.OpenTelemetryExporter.Builder.intervalSeconds
(int intervalSeconds) The interval between the start of two export attempts.Specifies the OTLP transport protocol to be used when exporting metrics.OpenTelemetryExporter.Builder.registry
(PrometheusRegistry registry) OpenTelemetryExporter.Builder.resourceAttribute
(String name, String value) Add a resource attribute.OpenTelemetryExporter.Builder.serviceInstanceId
(String serviceInstanceId) Theservice.instance.id
resource attribute.OpenTelemetryExporter.Builder.serviceName
(String serviceName) Theservice.name
resource attribute.OpenTelemetryExporter.Builder.serviceNamespace
(String serviceNamespace) Theservice.namespace
resource attribute.OpenTelemetryExporter.Builder.serviceVersion
(String serviceVersion) Theservice.version
resource attribute.OpenTelemetryExporter.Builder.timeoutSeconds
(int timeoutSeconds) The timeout for outgoing requests.