0

I am looking for REST API that will allow me to fetch performance metrics for a given HDInsight (Hadoop/Linux) cluster -- such as amount or percentage of memory used by the cluster, cpu usage etc. But I haven't come across anything specific. The only closest link I have found is this. But this too doesn't have any reference to getting performance metrics. Is this info even exposed as REST API ?

Jim Xu
  • 21,610
  • 2
  • 19
  • 39
Dhiraj
  • 3,396
  • 4
  • 41
  • 80

1 Answers1

0

According to my understanding, you want to get the metrics of the cluster. If so, you can use the following rest api to get it. For more details, please refer to the document and article

Method: GET
URL: https://<clustername>.azurehdinsight.net//api/v1/clusters/<cluster-name>?fields=metrics/load[<start time>,<end time>,<step>]

Headers : Authorization: Basic <username password>

For example:

Get CPU usage enter image description here

Jim Xu
  • 21,610
  • 2
  • 19
  • 39