Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 378 Bytes

client.md

File metadata and controls

17 lines (9 loc) · 378 Bytes

Client

Read stats

This endpoint queries the actual resources consumed on a node. The API endpoint is hosted by the Nomad client and requests have to be made to the nomad client whose resource usage metrics are of interest.

https://developer.hashicorp.com/nomad/api-docs/client#read-stats

Example:

import nomad

my_nomad = nomad.Nomad(host='192.168.33.10')