OpenTelemetry
Most recent version: v0.0.1


Overview
Onum supports integration with OpenTelemetry.
OpenTelemetry (OTel) is an open-source observability framework that provides a standardized way to collect and manage telemetry data (logs, metrics, and traces) from applications and infrastructure.
Select OpenTelemetry from the list of Data sink types and click Configuration to start.
Data sink configuration
Now you need to specify how and where to send the data, and how to establish a connection with OpenTelemetry.
Metadata
Enter the basic information for the new Data sink.
Name*
Enter a name for the new Data sink.
Description
Optionally, enter a description for the Data sink.
Tags
Add tags to easily identify your Data sink. Hit the Enter
key after you define each tag.


Metrics display
Decide whether or not to include this Data sink info in the metrics and graphs of the Home area.


Configuration
Now, add the configuration to establish the connection.
Protocol*
Choose the desired protocol to send your data (gRPC or HTTP).
Endpoint*
Enter the endpoint to send your data (e.g. otel-collector.mycompany.com:4317
).
Port*
Specify the required port.
Use gzip Compression
Set this option to true if you want to compress your data in gzip format.
Send timeout in ms
Set the milliseconds to wait for data to be successfully transmitted before terminating the attempt. The minimum value is 1
.
Send Traces*
Set this option to true if you want to send Traces to your OpenTelemetry account. If you select the HTTP sending protocol, you'll be prompted to optionally include your HTTP Traces Path.
Send Metrics*
Set this option to true if you want to send Metrics to your OpenTelemetry account. If you select the HTTP sending protocol, you'll be prompted to optionally include your HTTP Metrics Path.
Send Logs*
Set this option to true if you want to send Logs to your OpenTelemetry account. If you select the HTTP sending protocol, you'll be prompted to optionally include your HTTP Logs Path.


Depending on the type(s) of data you're sending (Traces, Metrics, and/or Logs), your events must have a specific set of information in OpenTelemetry format. Check an example for every data type below:
Batch Configuration
Set the Allow batch configuration option to true and fill in the following options to establish batch configuration:
Sizer*
Decide whether to set the batches in bytes or items.
Minimum size of the batch
Set the minimum capacity of the batch. The default value is 8192
and the minimum value is 0
.
Max size of the batch
Set the maximum capacity of the batch. It must be higher than the minimum set above. The default value is 8192
and the minimum value is 0
.
Time in milliseconds (ms) to send the batch
Enter the timeout to send the batch in milliseconds. The default value is 200
and the minimum value is 0
.


TLS Configuration
Set the Allow TLS configuration option to true and fill in the following options to allow TLS configuration:


Authentication Configuration
This option will only appear if you choose HTTP in the Protocol option, or you choose gRPC as Protocol and set TLS Configuration.
Choose the authentication configuration for your request:
Authentication Type*
Test Configuration
Wait for result
Select true to test the connection to the destination by waiting for a response from the server.


Click Finish when complete. Your new Data sink will appear in the Data sinks area list.
Pipeline configuration
When it comes to using this Data sink in a Pipeline, you must configure the following output parameters. To do it, simply click the Data sink on the canvas and select Configuration.
Output configuration
Event field to be sent*
Choose the field that contains the data to be sent.


Click Save to save your configuration.
Last updated
Was this helpful?