Skip to main content

Home

GET /reports/queueanalysis/get_latest_report_queue_names
New API: /ondemand_reports/report_by_name?end_time={end_time}&start_time={start_time}&name={report name}

Gives report by name.

Request
GET http://<unravel-host>:3000/api/v1/ondemand_reports/report_by_name?end_time={end_time}&start_time={start_time}&name={report name}
Path parameters

None.

Query parameters

Required parameters are highlighted.

Name

Type

Description

start_time

string

Start date and time. Format yyyy-mm-ddThh:mm:ss.SSS+offset value.

For example: 2022-03-30T12:14:00+05:30

end_time

string

End date and time. Format yyyy-mm-ddThh:mm:ss.SSS+offset value.

For example, 2021-12-31T12:14:00+05:30

name

string

Name of the report.

  • etl_fsimage (File Reports)

  • cloud_reports_task (Cloud Mapping Per Host)

  • services_compatibility_task (Services and Versions Compatibility)

  • cluster_discovery_task(Cluster Discovery)

  • topx_report(Top X)

  • small_files_report (Small Files)

  • capacity_prediction_task (Capacity Forecasting)

  • cluster_app_param_task (Tuning)

  • queue_analysis_task (Queue Analysis)

Examples

Request:

curl -X GET "http://myserver.com:3000/api/v1/ondemand_reports/report_by_name?end_time=2020-12-09T19:33:30%2B05:30&start_time=2020-09-11T19:33:30%2B05:30&name=queue_analysis_task" -H "accept: application/json" -H  "Authorization: JWT <token>"

Response:

[
   {
       "entity_id": "140460434633315",
       "task_type": 200,
       "task_name": "Queue Analysis-140460434633315",
       "task_status": "SUCCESS",
       "created_at": "2022-03-23T11:09:05.000Z",
       "failure_message": "",
       "task_result": "",
       "task_key": "queue_analysis_task"
   }
]