How Can We Help?

To get availability alert counts (events) across all component or host clusters across all the services, use the following:

APIs:

  • GET /config/accounts/{accountId}/applications – To get details on all applications.
  • GET /config/accounts/{accountId}/applications/{applicationId}/services – To get details on all services per application.
  • GET /config/accounts/{accountId}/services/{serviceId}/behaviour-events – To get details on behavior events per service.

You can create a script as follows:

Input to the script: organization id, time range (1 day)

Script Output: Multiple CSVs

  • CSV1 – Details of all applications for an account.
  • CSV2..N+1 – Details of all services for an application. Here, N is the number of applications for an account.
  • CSVN+2..N+1+MxN – Details of all Behavior Events per service (“availability” anomalies can be extracted from the CSV)
  • Output should be in tar or zip format.

Example:

Say, there is one application in an account and one service in the application. You get three CSVs as output.

  • CSV1 containing details of the application.
  • CSV2 containing details of services for the application.
  • CSV3 containing details of behavior events for the service of the application.
  • All these CSVs are part of a single output folder.

bash availablePerformanceReport.sh <ORG_ID> <FROM_TIME> <TO_TIME>

FROM AND TO TIME FORMAT: “YYYY-MM-DD HH:MM:SS”

bash availablePerformanceReport.sh 5 “2020-03-01 10:29:07” “2020-04-17 10:29:07” ALL

Table of Contents