Hi @ms4446
Yesterday you told me we could do this. So I wanted to know how to do this because I'm using GKE. It may be simpler than going through an ops agent.
2. Cloud Operations for GKE:
Thank you
Solved! Go to Solution.
To activate tracing with OpenTelemetry and export traces to Google Cloud Trace in a GKE environment, you can use the following configuration:
Enable OpenTelemetry in Strimzi:
Add the following configuration to your Strimzi deployment:
tracing:
type: opentelemetry
Configure the OpenTelemetry Collector: a. Deploy an OpenTelemetry Collector in your GKE cluster. b. Apply the following configuration:
receivers:
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:55680"
exporters:
googlecloud:
project: "YOUR_PROJECT_ID"
service: pipelines
traces:
receivers: [otlp]
exporters: [googlecloud]
This configuration sets up the Collector to receive OTLP trace data and export it to Google Cloud Trace.
Apply and Restart: a. Apply the OpenTelemetry Collector configuration. b. Restart the OpenTelemetry Collector to apply the changes.
Permissions and Network Configuration: a. Ensure that the OpenTelemetry Collector has the necessary permissions to send data to Google Cloud Trace. b. Verify that your network configuration allows communication between Strimzi, the Collector, and Google Cloud Trace.
After completing these steps, your Strimzi deployment will emit OpenTelemetry traces, which the OpenTelemetry Collector will collect and export to Google Cloud Trace. You can then view and analyze these traces in the Google Cloud Console.