This is a source which follows the OTLP Protocol and exports ExportMetricsServiceRequest records.
This source supports OTLP/grpc.
Example .yaml configuration:
source:
- otel_metrics_source:
- port(Optional) => An
intrepresents the port Otel metrics source is running on. Default is21891. - path(Optional) => A
Stringwhich represents the path for sending unframed HTTP requests. This can be used for supporting unframed gRPC with HTTP idiomatic path to a configurable path. It should start with/and length should be at least 1./opentelemetry.proto.collector.metrics.v1.MetricsService/Exportendpoint will be disabled for both gRPC and HTTP requests if path is configured. Path can contain${pipelineName}placeholder which will be replaced with pipeline name. - request_timeout(Optional) => An
intrepresents request timeout in millis. Default is10_000. - health_check_service(Optional) => A boolean enables health check service. When
trueenables a gRPC health check service undergrpc.health.v1.Health/Check. Default isfalse. In order to use the health check service, you must also enableproto_reflection_service. - proto_reflection_service(Optional) => A boolean enables a reflection service for Protobuf services (see ProtoReflectionService and gRPC reflection docs). Default is
false. - unframed_requests(Optional) => A boolean to enable requests not framed using the gRPC wire protocol. When
health_check_serviceis true andunframed_requestsis true, enables HTTP health check service under/health. - thread_count(Optional) => the number of threads to keep in the ScheduledThreadPool. Default is
200. - max_connection_count(Optional) => the maximum allowed number of open connections. Default is
500. - max_connection_age(Optional) => An ISO-8601 duration string (for example
PT30M) that sets the maximum age of a gRPC server connection before it is gracefully closed. Useful when horizontally scaling, because long-lived gRPC channels do not re-resolve DNS on their own. When unset (default), Armeria places no upper bound on connection age. Allowed range: 1s to 24h. - connection_drain_duration(Optional) => An ISO-8601 duration string (for example
PT15S) that controls how long Armeria waits aftermax_connection_ageexpires before forcefully terminating outstanding RPCs. When unset (default), Armeria uses its built-in drain duration. Allowed range: 0ms to 1h. - compression (Optional) : The compression type applied on the client request payload. Defaults to
none. Supported values are:none: no compressiongzip: apply GZip de-compression on the incoming request.
Data Prepper replies with a RetryInfo specifying how long to wait for the next request in case backpressure builds up. The retry information is implemented as exponential backoff, with a max delay of retry_info.max_delay.
source:
otel_trace_source:
retry_info:
min_delay: 1000ms # defaults to 100ms
max_delay: 5s # defaults to 2s- ssl(Optional) => A boolean enables TLS/SSL. Default is
true. - sslKeyCertChainFile(Optional) => A
Stringrepresents the SSL certificate chain file path or AWS S3 path. S3 path examples3://<bucketName>/<path>. Required ifsslis set totrue. - sslKeyFile(Optional) => A
Stringrepresents the SSL key file path or AWS S3 path. S3 path examples3://<bucketName>/<path>. Required ifsslis set totrue. - useAcmCertForSSL(Optional) => A boolean enables TLS/SSL using certificate and private key from AWS Certificate Manager (ACM). Default is
false. - acmCertificateArn(Optional) => A
Stringrepresents the ACM certificate ARN. ACM certificate take preference over S3 or local file system certificate. Required ifuseAcmCertForSSLis set totrue. - awsRegion(Optional) => A
Stringrepresents the AWS region to use ACM or S3. Required ifuseAcmCertForSSLis set totrueorsslKeyCertChainFileandsslKeyFileisAWS S3 path.
requestTimeouts: measures total number of requests that time out.requestsReceived: measures total number of requests received by otel metrics source.
This plugin is compatible with Java 8. See