VMware Cloud Community
lurims
Enthusiast
Enthusiast

How to get vRO 8.X Dashboard metrics using API

Is there any way to get these vRO 8.X Dashboard metrics using API?  They are pure get calls and it should be possible I guess.  Tried browser developer utilties but could not see much info there.

  1. Failed
  2. Slowest
  3. Large Token
  4. Most Transitions
  5. User CPU Time
  6. System CPU Time
  7. CPU Wait Time
  8. CPU Blocked Time
Reply
0 Kudos
3 Replies
eoinbyrne
Expert
Expert

Maybe this is what you need on the vRO 8.x API?

eoinbyrne_0-1661511125553.png

 

Response Model is this

eoinbyrne_1-1661511243700.png

-HTH

 

Reply
0 Kudos
Cashi
Contributor
Contributor

Thanks but my first Problem is that behaviour in the GUI - not yet started with API Tests....

Reply
0 Kudos
lurims
Enthusiast
Enthusiast

Sounds like but the I could not see any into when I ran that API call for example, "slowest" was not seen.

The following call works in vRO 7.X and 8.X as well which I got from this communities is looking for more promising.

/vco/api/catalog/System/WorkflowExecution?conditions=state=completed

But it is not workinng with multiple conditions like I want to add more conditions like last day, last 3 days, last 1 week etc OR successful workflow tokens ran mora than XXXX seconds etc. 

/vco/api/catalog/System/WorkflowExecution?conditions=state=failed&state=cancelled - did not work.  It just ignores the conditons are after the first one.

Reply
0 Kudos