Get application environment instances
GET /api/admin/metrics/instances/:appName/environment/:environment
Returns an overview of the instances for the given appName
and environment
that receive traffic.
Request
Path Parameters
- appName string required
- environment string required
Responses
- 200
- 404
applicationEnvironmentInstancesSchema
- application/json
- Schema
- Example (from schema)
Schema
instances object[]required
A list of instances
Array [instanceId string requiredA unique identifier identifying the instance of the application running the SDK. Often changes based on execution environment. For instance: two pods in Kubernetes will have two different instanceIds
sdkVersion stringAn SDK version identifier. Usually formatted as "unleash-client-
: " clientIp stringAn IP address identifying the instance of the application running the SDK
lastSeen date-timeThe last time the application environment instance was seen
]
{
"instances": [
{
"instanceId": "b77f3d13-5f48-4a7b-a3f4-a449b97ce43a",
"sdkVersion": "unleash-client-java:7.0.0",
"clientIp": "192.168.0.1",
"lastSeen": "2023-04-19T08:15:14.000Z"
}
]
}
The requested resource was not found.
- application/json
- Schema
- Example (from schema)
Schema
- id string
The ID of the error instance
- name string
The name of the error kind
- message string
A description of what went wrong.
{
"id": "9c40958a-daac-400e-98fb-3bb438567008",
"name": "NotFoundError",
"message": "Could not find the addon with ID \"12345\"."
}
Loading...