Overview
For application telemetry, run an OpenTelemetry Collector sidecar in the same Cloud Run service and send logs, metrics, and traces to its configured OTLP receiver.http://localhost:4318 is the usual OTLP/HTTP default for this sidecar topology, but the address, protocol, and TLS settings must match your Collector configuration. Cloud Run platform request logs remain in Cloud Logging; route those through Pub/Sub when you need them in Bronto too.
Do not push Pub/Sub directly to Bronto’s HTTP endpoint — Pub/Sub wraps each message in an envelope (base64
message.data) that Bronto cannot parse. The OTel Collector unwraps it.Prerequisites
- A Bronto account and API key (how to create one)
- A Google Cloud project with Cloud Run services and Cloud Logging enabled (the default)
- An OpenTelemetry Collector running in your GCP environment (e.g. on Cloud Run or GKE)
Application telemetry through a sidecar
Instrument the application with the OpenTelemetry SDK and point it at the Collector sidecar. With the receiver configuration below, use the standard local OTLP/HTTP base endpointhttp://localhost:4318; change it if you customize the receiver.
/etc/otel/config.yaml
Exponential histograms are not supported, and the Metric Explorer does not currently provide a Rate function.
Platform request logs through Pub/Sub
Cloud Run writes platform request logs to Cloud Logging. To forward them:Step 1: Route Cloud Run logs to Pub/Sub
- Create a Pub/Sub topic (e.g.
bronto-cloud-run-logs) and a pull subscription (e.g.bronto-cloud-run-logs-sub). - In Logging → Log Router, create a sink to that topic with the inclusion filter:
roles/pubsub.subscriber role. For details, see the Cloud Logging routing docs.
Step 2: Configure the Collector
/etc/otel/config.yaml
<REGION> to eu or us. Already have a Pub/Sub sink? Add just the receiver, exporter, and logs pipeline above to your existing Collector.
What you will see in Bronto
Open Search for application and request logs, Metric Explorer for metrics, and Explore Traces for spans. Resource attributes identify the Cloud Run service, revision, project, and region.Troubleshooting
- No logs? Confirm the Log Router sink is active and its filter matches your services; check the Pub/Sub topic’s published-message count.
- Collector not receiving? Verify the subscription exists and the service account has
pubsub.subscriber, then check the Collector’s own logs. - For the receiver reference, see the
googlecloudpubsubreceiver docs.

