Forwarding Telemetry Data to Third-Party Systems
The OpenTelemetry Collector exports telemetry data by using the OTLP exporter over the OpenTelemetry Protocol (OTLP), which supports both gRPC and HTTP transports. If you need to forward telemetry data to a third-party system that does not support OTLP or another protocol supported by Alauda Build of OpenTelemetry v2, you can deploy an unsupported custom OpenTelemetry Collector that receives telemetry data over OTLP and forwards it to the target system by using a custom exporter.
Alauda does not support custom Collector deployments for third-party forwarding scenarios.
Prerequisites
- You have developed your own unsupported custom exporter that can forward telemetry data to your third-party system.
- An active ACP CLI (
kubectl) session by a cluster administrator with thecluster-adminrole.
Procedure
-
Create a
ConfigMapfor the custom Collector configuration:- Replace
debugwith the exporter required by your third-party system.
- Replace
-
Deploy the custom Collector and mount the configuration from the
ConfigMap:- Replace the image with the required OpenTelemetry Collector version that includes the exporter needed by your third-party system.
-
Expose the custom Collector with a
Service:- The service name is used when you configure the OTLP exporter in the Alauda Build of OpenTelemetry v2 Collector custom resource.
-
Apply the resources: