Skip to content

Get Node Monitoring

GET
/tenant_clusters/{tenant_cluster_id}/nodes/{node_name}/monitoring/
curl --request GET \
--url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/nodes/{node_name}/monitoring/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \
--header 'Authorization: Bearer <API_TOKEN>'

Returns one node’s row, as in Get Cluster Monitoring, and a time series for each measure over the time range, for charting.

tenant_cluster_id
required
integer

Kubernetes cluster ID, as returned by List Kubernetes Clusters.

node_name
required
string

The node’s hostname, as returned by Get Cluster Monitoring.

interval
string
default: 5m
Allowed values: 5m 15m 1h 6h 1d 7d 1mn

The time range the metrics cover. 1mn is 30 days.

project_id
required
integer

Project ID

active_iam
integer

Active IAM ID (To access contact person account) Find your Active IAM ID here

location
required
string
Allowed values: Delhi Chennai

Location

The node’s figures and time series.

Media typeapplication/json
object
code
integer
data
object
node

One node’s figures over the time range. Every measured value can be null, which means it was not reported, not that it was zero.

object
hostname
string
role
string
state
string
pool_name
string
nullable
sku_name
string
nullable
cpu

Cores.

object
provisioned
number
nullable
used
number
nullable
memory
object
provisioned
number
nullable
used
number
nullable
ephemeral_storage
object
provisioned
number
nullable
used
number
nullable
cpu_utilization

Percent.

number
nullable
memory_utilization

Percent.

number
nullable
disk_utilization

Percent.

number
nullable
load_average
number
nullable
network_rx_bytes
number
nullable
network_tx_bytes
number
nullable
uptime
string
nullable
uptime_seconds
number
nullable
graphs

One entry for each measure, such as cpu_utilization, each with matching time_series and value_series lists.

object
key
additional properties
object
time_series
Array<string>
value_series
Array<number>
errors
object
message
string

Example

{
"code": 200,
"data": {
"node": {
"hostname": "tir-k8s-prod-app-workers-7d9f8-abcde",
"role": "worker",
"state": "ready",
"pool_name": "app-workers",
"sku_name": "C3.8GB",
"cpu": {
"provisioned": 4,
"used": 1.2
},
"memory": {
"provisioned": 7.6,
"used": 3.1
},
"ephemeral_storage": {
"provisioned": 49.1,
"used": 12.4
},
"cpu_utilization": 30.5,
"memory_utilization": 40.8,
"disk_utilization": 25.3,
"load_average": 0.85,
"network_rx_bytes": 1048576,
"network_tx_bytes": 524288,
"uptime": "2 days, 3 hours, 10 minutes",
"uptime_seconds": 184200
},
"graphs": {
"cpu_utilization": {
"time_series": [
"10:15:00",
"10:15:15"
],
"value_series": [
30.5,
31.2
]
}
}
},
"errors": {},
"message": "Success"
}