BigPeerOtelCollector can record Big Peer metrics and receive OTLP/HTTP metrics and logs. It can also forward telemetry to an OpenTelemetry-compatible backend.
BigPeerOtelCollector is available in Ditto Operator 1.0.0-experimental.1 and later. Install that chart version or a later version that includes the resource and its telemetry features before applying the examples below.
Record telemetry
Create aBigPeerOtelCollector in the Big Peer’s namespace. This example keeps the ten most recent archives on a 5 Gi volume and requires a default StorageClass:
4318, with metrics at /v1/metrics and logs at /v1/logs. To accept OTLP requests from outside the cluster, configure spec.network.telemetry: {} on the Big Peer. The Operator routes this endpoint when there is one eligible recording Collector in the namespace. Check the Big Peer’s TelemetryIngest condition if the route is unavailable.
Archives contain the original telemetry payloads and are not redacted. Review archives before sharing them. Disabling recording retains its provisioned volume until the Collector resource is deleted.
Forward telemetry
To forward metrics and logs to an OTLP/HTTP backend, provide a Collector configuration in a ConfigMap. Replace the endpoint with your backend URL:telemetry-forwarding.yaml, then apply it:
overlay alongside flightRecorder under spec in the Collector resource. The env mapping makes the Secret value available to the Collector as BACKEND_TOKEN:
telemetry.yaml, then apply it:
kubectl -n ditto get bigpeerotelcollector telemetry -o yaml.