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 stringrequired
environment stringrequired
Responses
- 200
- 404
applicationEnvironmentInstancesSchema
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
instances
object[]
required
A list of instances
instanceId stringrequired
A 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
Example:
b77f3d13-5f48-4a7b-a3f4-a449b97ce43a
sdkVersion string
An SDK version identifier. Usually formatted as "unleash-client-
Example:
unleash-client-java:7.0.0
clientIp string
An IP address identifying the instance of the application running the SDK
Example:
192.168.0.1
lastSeen date-time
The last time the application environment instance was seen
Example:
2023-04-19T08:15:14.000Z
{
"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
Example:
9c40958a-daac-400e-98fb-3bb438567008
name string
The name of the error kind
Example:
NotFoundError
message string
A description of what went wrong.
Example:
Could not find the addon with ID "12345".
{
"id": "9c40958a-daac-400e-98fb-3bb438567008",
"name": "NotFoundError",
"message": "Could not find the addon with ID \"12345\"."
}
Loading...