Configure Telemetry Gateway forwarding (optional)
Configure the Telemetry Gateway to forward device telemetry to an upstream OTLP/gRPC backend over mutual TLS, in addition to local Prometheus scraping.
Before you begin
- A client certificate, private key, and upstream CA certificate file are available for mutual TLS with the upstream OTLP gRPC endpoint.
- The upstream OTLP gRPC endpoint address and port are known.
About this task
By default, the Telemetry Gateway exports metrics for local Prometheus scraping. You can optionally configure forwarding to send telemetry data to an upstream OTLP/gRPC backend.
Use forwarding when you:
- Have an existing observability infrastructure (for example, Grafana Cloud, Datadog, or New Relic).
- Want to centralize telemetry from multiple Red Hat Edge Manager deployments.
- Need to integrate with organization-wide monitoring systems.
Procedure
Results
- Check the telemetry gateway logs to verify successful forwarding:
sudo journalctl -u flightctl-telemetry-gateway.service -f - Look for log entries that indicate successful OTLP exports, similar to the following example:
{"level":"info","msg":"Successfully forwarded metrics batch","endpoint":"otlp.example.com:4317","batch_size":100}