Stay organized with collections Save and categorize content based on your preferences.
The Ops Agent is the primary agent for collecting telemetry from your Compute Engine instances. Combining the collection of logs, metrics, and traces into a single process, the Ops Agent uses Fluent Bit for logs, which supports high-throughput logging, and the OpenTelemetry Collector for metrics and traces.
For information about installing the Ops Agent, see the following:
Overall features include:
Logging features include:
Improved performance compared to the legacy Logging Agent:
Collecting logs from various sources:
/var/log/syslog
and /var/log/messages
for Linux, Windows Event Log) collected with no configuration.Flexible processing:
Third-party application support
Monitoring features include:
The Cloud Monitoring Metrics Management page provides information that can help you control the amount you spend on billable metrics without affecting observability. The Metrics Management page reports the following information:
You can also use the Metrics Management page to exclude unneeded metrics, eliminating the cost of ingesting them. For more information about the Metrics Management page, see View and manage metric usage.
Trace featuresTrace features include:
You can install the Ops Agent on Compute Engine instances. To create a Compute Engine instance, see the Compute Engine getting started guide.
Note: The Ops Agent is not supported on Amazon Elastic Compute Cloud (Amazon EC2) instances or on-premises machines.The following types of VM instances belong to managed services that implement service-specific Monitoring support. Don't try to manually install or configure the Ops Agent on them:
Dataproc instances prior to image version 2.2 have pre-installed legacy Monitoring agents with service-specific configurations.
You can install the Ops Agent on Dataproc clusters that use image version 2.2 and later to collect syslog logs and host metrics. For more information, see Dataproc 2.2.x release versions.
The Ops Agent supports the following operating systems on compatible VM instances. For information about Arm VM instances, see Support for Compute Engine Arm VMs.
Linux operating systemsThe agent supports the following Linux operating systems:
Note: To use Cloud Logging on VMs with Container-Optimized OS, follow Using Cloud Logging with Container-Optimized OS instead.The Ops Agent supports Compute Engine C4A and Tau T2A Arm VM instances. The Ops Agent is supported for Arm VMs on the following OS images:
The Ops Agent is supported on a subset of the images supported by Compute Engine. For more information about Compute Engine Arm VMs, see Creating and starting an Arm VM instance.
Windows operating systems Note:n1-standard-1
virtual machines are too small to run Windows and the Ops Agent, so you must use a larger VM.
The agent supports the following Windows operating systems:
Installing the agent requires access to the following DNS names:
Google Cloud package repository: packages.cloud.google.com
Google downloads subdomain: dl.google.com
Running the agent requires access to the following DNS names:
OAuth2 token server: oauth2.googleapis.com
Earlier versions of the agent may require access to www.googleapis.com
(full URL: https://www.googleapis.com/oauth2/v3/token
).
If you're using an older version of the agent, it's recommended that you upgrade your agent to the latest version.
Monitoring APIs: monitoring.googleapis.com
Logging APIs: logging.googleapis.com
The agent uses TCP ports within the VM for inter-process communication. The following ports, which don't need to be open externally, must be available to the agent on your VM:
20201
20202
The Ops Agent is subject to the Agents deprecation policy.
For deprecation information for legacy features and versions, refer to Google Cloud Observability deprecations.
PricingIf you install the Ops Agent, then you might be charged for the metrics, logs, or traces that the agent sends to your Google Cloud project. For pricing information, see information, see the following documents:
To collect OpenTelemetry Protocol (OTLP) traces, you must configure the agent to collect traces from an instrumented application; for more information, see Collect (OTLP) traces with the Ops Agent.
What's nextExcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-11 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4