Using Cloudera SQL Stream BuilderPDF version

Using the OpenTelemetry Collector with Cloudera SQL Stream Builder [Technical Preview]

The OpenTelemetry metrics reporter makes it easier and more efficient to aggregate Cloudera SQL Stream Builder jobs' metrics to a central OpenTelemetry-compatible service using open standards.

The following artifacts need to be downloaded and copied to the /opt/cloudera/parcels/FLINK/lib/flink/lib/ directory on all the cluster nodes to use this feature.

Restart Cloudera SQL Stream Builder after the JAR files have been downloaded.

Add the following SET commands to the beginning of your job to start collecting metrics with OpenTelemetry:

set metrics.reporters=otel;
set metrics.reporter.otel.factory.class=org.apache.flink.metrics.otel.OpenTelemetryMetricReporterFactory;
set metrics.reporter.otel.exporter.endpoint=http://[*** FQDN OR IP ADDRESS ***]:[*** PORT ***];
set metrics.reporter.otel.service.name=[*** SERVICE NAME ***];
set metrics.reporter.otel.service.version=[*** SERVICE VERSION ***];

For more information on using the Flink OpenTelemetry Metrics Reporter, refer to the Apache Flink documentation.

We want your opinion

How can we improve this page?

What kind of feedback do you have?