Class ExporterOpenTelemetryProperties

Object
ExporterOpenTelemetryProperties

Properties for configuring the OpenTelemetry exporter.

These properties can be configured via prometheus.properties, system properties, or programmatically.

All properties are prefixed with io.prometheus.exporter.opentelemetry.

Available properties:

  • protocol - OTLP protocol: "grpc" or "http/protobuf"
  • endpoint - OTLP endpoint URL
  • headers - HTTP headers for outgoing requests
  • intervalSeconds - Export interval in seconds
  • timeoutSeconds - Request timeout in seconds
  • serviceName - Service name resource attribute
  • serviceNamespace - Service namespace resource attribute
  • serviceInstanceId - Service instance ID resource attribute
  • serviceVersion - Service version resource attribute
  • resourceAttributes - Additional resource attributes
See Also: