Google Cloud Run
Request logs through Cloud Logging. Request traces from the OpenTelemetry SDK.
LogsTracesAvailable
What you get
Logs and traces, arriving through Cloud Logging and Pub/Sub push; OpenTelemetry SDK.
Set it up
- Create an ingest key in Epok: Settings, then API keys.
- Add the OpenTelemetry SDK for your language to the service.
- Set the OpenTelemetry exporter environment variables on the Cloud Run service: the Epok endpoint, OTLP over HTTP, and the key as a header.
- Send a request through the service and open its trace in Traces.
- For request logs, set up the Cloud Logging Pub/Sub push from the Google Cloud page; Cloud Run logs arrive through it.
The commands and configuration for each step are on the setup guide.
What was tested
- End to end with real cloud resources, sending to a local Epok stack rather than the hosted service: 2 runs.
- Code tests of the ingest route or the sender: 1 test.
- No run against the hosted service is recorded yet.
What you see in Epok
- Explore and Live tail: search, patterns and new errors.
- Services and Traces: request rate, errors and latency per service and endpoint, and each trace's span tree.
Troubleshooting
- A default gRPC exporter does not reach Epok. Set the protocol to http/protobuf.