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>'import requests
response = requests.get( "https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/nodes/{node_name}/monitoring/", params={"project_id": "<PROJECT_ID>", "location": "<LOCATION>", "apikey": "<API_KEY>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/nodes/{node_name}/monitoring/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", location: "<LOCATION>", apikey: "<API_KEY>" });
const response = await fetch(url, { method: "GET", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Returns one node’s row, as in Get Cluster Monitoring, and a time series for each measure over the time range, for charting.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Kubernetes cluster ID, as returned by List Kubernetes Clusters.
The node’s hostname, as returned by Get Cluster Monitoring.
Query Parameters
Section titled “Query Parameters”The time range the metrics cover. 1mn is 30 days.
Project ID
Active IAM ID (To access contact person account) Find your Active IAM ID here
Location
Responses
Section titled “Responses”The node’s figures and time series.
object
object
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
Cores.
object
object
object
Percent.
Percent.
Percent.
One entry for each measure, such as cpu_utilization, each with matching time_series and value_series lists.
object
object
object
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"}