Transition to the Generally Available version of the Ops Agent
Stay organized with collections
Save and categorize content based on your preferences.
The Ops Agent is now Generally Available. The GA version incorporates fixes and
improvements based on the feedback from Preview users. This guide provides
migration steps for the following users:
Ops Agent Preview users to migrate to the GA version of the agent.
Users of the legacy Logging and Monitoring
agents to migrate to the Ops Agent.
Migrating from Ops Agent Preview to the GA version
To install the latest version of the Ops Agent, complete the
Upgrading the agent procedures.
If you edited the agent's default configuration to remove the
default_pipeline, add the following snippet to the agent
configuration to
keep that pipeline disabled:
[[["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-09-04 UTC."],[],[],null,["# Transition to the Generally Available version of the Ops Agent\n\nThe Ops Agent is now Generally Available. The GA version incorporates fixes and\nimprovements based on the feedback from Preview users. This guide provides\nmigration steps for the following users:\n\n- Ops Agent Preview users to migrate to the GA version of the agent.\n\n- Users of the legacy Logging and Monitoring\n agents to migrate to the Ops Agent.\n\nMigrating from Ops Agent Preview to the GA version\n--------------------------------------------------\n\nTo install the latest version of the Ops Agent, complete the\n[Upgrading the agent](/stackdriver/docs/solutions/agents/ops-agent/installation#upgrade) procedures.\n\nIf you edited the agent's default configuration to remove the\n`default_pipeline`, add the following snippet to the [agent\nconfiguration](/stackdriver/docs/solutions/agents/ops-agent/configuration) to\nkeep that pipeline disabled: \n\n logging:\n service:\n pipelines:\n default_pipeline:\n receivers: []\n exporters: []\n metrics:\n service:\n pipelines:\n default_pipeline:\n receivers: []\n exporters: []\n\n### Changes in commands for managing the Ops Agent\n\nThe following table lists the commands for managing the agent that changed for\nthe GA release:\n\nMigrating from the legacy agents to the Ops Agent\n-------------------------------------------------\n\nTo migrate from the legacy Logging and Monitoring\nagents, complete the following steps.\n\n1. Uninstall the [Logging](/logging/docs/agent/logging/installation#uninstall)\n and the [Monitoring](/monitoring/agent/monitoring/installation#uninstall)\n agents.\n\n After you uninstall the agent, the Google Cloud console might take up to one\n hour to report this change.\n2. Install the latest version of the [Ops Agent on a single virtual\n machine](/stackdriver/docs/solutions/agents/ops-agent/installation#install-latest-version).\n\n You also have the option of [installing and managing the Ops Agent on\n multiple VMs](/stackdriver/docs/solutions/agents/ops-agent/install-index).\n3. [Configure the Ops Agent](/stackdriver/docs/solutions/agents/ops-agent/configuration)\n as needed.\n\nDifferences in how metrics are collected\n----------------------------------------\n\nThe following table describes differences in the data ingested by the Ops Agent and the Monitoring agent.\n\n^†^ The **GA** column refers to Ops Agent versions 2.0.0 and higher. The **Preview** column refers to Ops Agent versions less than 2.0.0."]]