Load Testing API, gRPC: AgentService.Get
Returns the specified agent.
To get the list of all available agents, make a List request.
gRPC request
rpc Get (GetAgentRequest) returns (agent.Agent)
GetAgentRequest
{
"agent_id": "string"
}
Field |
Description |
agent_id |
string ID of the agent to return. |
agent.Agent
{
"id": "string",
"folder_id": "string",
"name": "string",
"description": "string",
"compute_instance_id": "string",
"status": "Status",
"errors": [
"string"
],
"current_job_id": "string",
"agent_version_id": "string",
"labels": "map<string, string>",
"log_settings": {
"cloud_log_group_id": "string"
}
}
Load testing agent on which tests are executed.
Field |
Description |
id |
string ID of the agent. Generated at creation time. |
folder_id |
string ID of the folder that the agent belongs to. |
name |
string Name of the agent. |
description |
string Description of the agent. |
compute_instance_id |
string ID of the compute instance managed by the agent. Empty if there is no such instance (i.e. the case of external agent). |
status |
enum Status Status of the agent.
|
errors[] |
string List of errors reported by the agent. |
current_job_id |
string ID of the test that is currently being executed by the agent. |
agent_version_id |
string Version of the agent. |
labels |
object (map<string, string>) Agent labels as |
log_settings |
Agent log settings |
LogSettings
Field |
Description |
cloud_log_group_id |
string Id of Yandex Cloud log group to upload agent logs to |