The exporter generates and sends the trace data from the ABL application to the OpenTelemetry (OTel) Collector. OpenEdge supports the Ostream exporter and OTLP endpoint exporters, including OTLP/GRPC and OTLP/ HTTP.

The following table shows different exporter options that you can use to configure OTel tracing in the ABL application:

Table 1. Exporter options
Exporter Option Description
Ostream Writes formatted tracing-information text to a file. This option is useful for testing or debugging tasks.
OTLP/GRPC Exports the trace data to an OTLP endpoint such as the OTel or the APM tool using the gRPC protocol.
OTLP/HTTP

Exports the trace data to an OTLP endpoint such as the OTel or the APM tool using the HTTP protocol.

Ostream exporter configuration details

The following table presents the configuration details that you can specify for the Ostream exporter:

Table 2. Configuration details of the Ostream exporter
Property Type Description Default value
filename string Specifies the name of the file in which the trace output is written. NA

OTLP/GRPC exporter configuration details

The following table presents the configuration details that you can specify for the OTLP/GRPC exporter:

Table 3. Configuration details of the OTLP/GRPC exporter
Property Type Description Default value
endpoint string Specifies the endpoint to which the data is to be exported. By default, the OTel Collector is set to receive communications on localhost:4317 for gRPC. localhost:4317
use_ssl_credentials boolean

Specifies the behavior of the exporter when establishing secure communication.

If set to true, the exporter uses ssl_credentials_cacert_path, if it is not empty. Otherwise, the exporter uses ssl_credentials_cacert_as_string.

False
ssl_credentials_cacert_path string Specifies the path to the .pem file to be used for SSL encryption. " "
ssl_credentials_cacert_as_string string Specifies the in-memory string representation of the .pem file for SSL encryption. " "
Timeout integer Specifies the timeout duration for the gRPC transport. If the duration to send the trace data to the OTel collector exceeds the set timeout duration, the corresponding span is disregarded. 10 seconds
metadata string Enables you to include additional configuration details. NA

OTLP/HTTP exporter configuration details

The following table presents the configuration details that you can specify for the OTLP/HTTP exporter:

Table 4. Configuration details of the OTLP/HTTP exporter
Property Type Description Default value
url string Specifies the endpoint to which the data is to be exported. http://localhost:XXXX/v1/traces, where XXXX is the port number.
content_type string Specifies the data format used by the exporter. application/json
json_bytes_mapping string Specifies the encoding used for trace_id and span_id in the exporter. JsonBytesMappingKind::kHexId
use_json_name boolean Specifies whether to use the JSON name or the protobuf field name to set the key in the JSON output. False
Timeout integer Specifies the timeout duration for the HTTP requests made by the exporter. 10 seconds
http_headers string Specifies the HTTP headers to be included in the requests made by the exporter. NA