Get Version
GetVersion retrieves version information and receives instructions for agent updates or maintenance based on the current state and health of the agent.
Authorizations
The Authorization header expects a Bearer token.
Query Parameters
Type of the agent. Must be O11Y_AGENT (1).
- AGENT_UNDEFINED: Default undefined state.
- O11Y_AGENT: Observability agent type.
AGENT_UNDEFINED, O11Y_AGENT Current version of the agent software.
Version of the updater component.
Parent identifier for the VM
Unique identifier for the instance where agent is running.
Operating system name and version. Example: "Ubuntu 22.04.4 LTS"
Detailed system information from uname command.
Example:
System architecture.
Current operational state of the agent.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Time duration since the agent started.
Total system uptime.
Time duration since the updater component started.
Status messages from the agent describing its current state.
Description of the last update failure, if any.
Managed Kubernetes cluster identifier, if applicable.
Current operational state of the module.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Status messages describing the module's state.
Current operational state of the module.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Status messages describing the module's state.
Current operational state of the module.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Status messages describing the module's state.
Current operational state of the module.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Status messages describing the module's state.
Current operational state of the module.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Status messages describing the module's state.
Current operational state of the module.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Status messages describing the module's state.
Current operational state of the module.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Status messages describing the module's state.
Current operational state of the module.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Status messages describing the module's state.
Current operational state of the module.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Status messages describing the module's state.
Current operational state of the module.
- STATE_UNDEFINED: Default undefined state.
- STATE_HEALTHY: Agent is functioning normally.
- STATE_ERROR: Agent is in error state.
STATE_UNDEFINED, STATE_HEALTHY, STATE_ERROR Status messages describing the module's state.
Status of cloud initialization process.
Indicates if a fallback method was used to determine instance_id.
Recent agent log entries for diagnostic purposes.
Model of the GPU used in the system.
Number of GPUs available in the system.
Version of the DCGM (Data Center GPU Manager) used.
Size of the healthcheck directory in bytes.
Total size of the healthcheck mountpoint in bytes.
Largest config_version this agent has already accepted; 0 if none.
Response
A successful response.
Response message for GetVersion RPC containing required action for the agent.
Action to be taken by the agent based on version check.
- ACTION_UNDEFINED: Default undefined action.
- NOP: No operation needed.
- UPDATE: Update to new version required.
- RESTART: Agent restart required.
ACTION_UNDEFINED, NOP, UPDATE, RESTART Version of the rollout state this response was built from. Agent echoes it back as last_seen_config_version on the next request.
Feature flags for the agent. Keys are UPPER_CASE flag names, values are flag values (typically "true"/"false"). When feature_flags_unavailable is true the agent must ignore this field and keep its current flag set unchanged.
True when the server could not load feature-flag state. The agent must keep its current flag set instead of treating an empty feature_flags map as "clear all". The default value of false means feature_flags is authoritative — including legitimately empty.
Parameters when no operation is required.
Parameters for agent restart action.
Parameters for agent update action.