Retrieves agent activity and performance metrics.
Syntax:
Get-QAgentMetrics [-AgentId] <String> [<CommonParameters>]
| Parameter | Description |
|---|---|
| AgentId |
Specify the ID (GUID format) of the agent whose metrics are to be retrieved. Run the Get-QManagedHosts cmdlet and locate the agents array in the managed host to retrieve its ID. |
Examples:
| Example | Description |
|---|---|
| (Get-QAgentMetrics -AgentId 19048a06-845a-4628-94fc-dabf60345ea9).Metrics | Returns agent activity and performance information for the specified Data Governance agent. Expands the Metrics array to display the individual metrics. |
Details retrieved:
| Detail | Description |
|---|---|
| Agent | Value (GUID) assigned to the agent. |
| MetricsSetName |
The name associated with a set of metrics:
|
| Start | For metrics that span a length of time, the date and time when the metrics collection started. |
| End |
For metrics that span a length of time, the date and time when the metrics collection ended. If no end time is specified by the agent, the date/time maximum value (for example, 23:59:59:9999999 UTC, December 31, 9999) |
| Metrics |
Metrics is an array that can be expanded to show the metrics returned from the agent. The following details are displayed for each metric:
|