Edge Delta OTLP Source

Consume OTLP traffic.

Overview

The OTLP source node consumes data items directly from OTLP configured data sources. The node is configured with the port that the agent should listen on.

Note: The node can ingest either logs, metrics (processed as gauges) or traces per endpoint. To ingest logs and metrics, for example, two OTLP source nodes are required with separate endpoints.

Configure OTLP

See Prepare to Ingest from an OTLP Source for information on configuring your data sources for OTLP and obtaining the port number.

Example Configuration

Create separate OTLP sources for each port to ingest logs, metrics and traces from the collector.

nodes:
- name: OTLP traces
  type: otlp_input
  port: 4326
  protocol: grpc
  read_timeout: 1m0s
- name: OTLP logs
  type: otlp_input
  port: 4324
  protocol: grpc
  read_timeout: 1m0s
- name: OTLP metrics
  type: otlp_input
  port: 4325
  protocol: grpc
  read_timeout: 1m0s

Required Parameters

name

A descriptive name for the node. This is the name that will appear in Visual Pipelines and you can reference this node in the YAML using the name. It must be unique across all nodes. It is a YAML list element so it begins with a - and a space followed by the string. It is a required parameter for all nodes.

nodes:
  - name: <node name>
    type: <node type>

type: otlp_input

The type parameter specifies the type of node being configured. It is specified as a string from a closed list of node types. It is a required parameter.

nodes:
  - name: <node name>
    type: <node type>

port

The port parameter specifies the port number to listen on. It is specified as an integer and is required.

nodes:
- name: <node name>
  type: otlp_input
  port: <port number>

protocol

The protocol parameter defines which protocol is being used to send items to the OTLP source. You can specify either grpc or http. If you select HTTP you can also specify a read timeout. The default is gRPC and a protocol is required.

nodes:
- name: <node name>
  type: otlp_input
  port: <port number>
  protocol: http|grpc

Optional Parameters

read_timeout

The read_timeout parameter defines a wait time timeout for HTTP connections. You specify it a duration. The default is 1m and it is optional.

nodes:
- name: <node name>
  type: otlp_input
  port: <port number>
  protocol: http
  read_timeout: 2m