As a system operator, you can configure telemetry collection across your deployment environments to observe the health and performance of your applications. This guide introduces the tools and services you can use to collect and ingest telemetry into Google Cloud Observability, including the Google-Built OpenTelemetry Collector, the Ops Agent, and Google Cloud Managed Service for Prometheus.
Telemetry collection tools
Google-Built OpenTelemetry Collector
The Google-Built OpenTelemetry Collector is Google's open-source build of the OpenTelemetry Collector, built from upstream components using a secure supply chain on Google infrastructure. There are examples that show you how to deploy this collector for common configurations, such as Google Kubernetes Engine.
-
The Ops Agent is the primary method of collecting telemetry from Compute Engine instances. The following documents provide information about specific configurations:
Google Cloud Managed Service for Prometheus
Google Cloud Managed Service for Prometheus is Google Cloud's fully managed, multi-cloud, cross-project solution for Prometheus. This solution lets you globally monitor and alert on your workloads using Prometheus and OpenTelemetry without having to manually manage and operate Prometheus at scale.
Send data to your project in OTLP format
Google Cloud Observability supports ingesting log, metric, and trace data in OTLP format. For information about the API, authentication methods, and data processing, see OTLP support in Google Cloud Observability.
You can migrate your existing collectors to send OTLP-formatted log, metric, and trace data to your project. For more information, see Migrate collectors to use OTLP exporters.
Add observability without code changes
If you use the OpenTelemetry zero-code approach, then you can add observability without modifying your application's code. Instead, you attach a runtime agent and configure collection by using environment variables or system properties. For more information, see Zero-code.
For an example, see Use OpenTelemetry zero-code instrumentation for Java workloads on GKE.