domino_admin_toolkit.checks.test_domino_usage_report module
- domino_admin_toolkit.checks.test_domino_usage_report.calculate_report_row(job_type_df, type_name)
- Return type:
- Description:
Takes a filtered dataframe from the resource usage report and calculates all the relevant fields for a job type
- Result:
dictionary containing the calculated data for the specific job type
- domino_admin_toolkit.checks.test_domino_usage_report.get_usage_report(client)
- Description:
Retrieves the current usage report from the nucleus api for the given look back window
- Result:
Pandas Dataframe containing results from api call to /admin/generateUsageReport
- domino_admin_toolkit.checks.test_domino_usage_report.merge_rows(row_results)
- Description:
Takes a list of calculated row value dictionaries, merges them and shunts them into a dataframe
- Result:
list of dictionaries merged as rows in a Pandas Dataframe
- domino_admin_toolkit.checks.test_domino_usage_report.test_resource_usage(domino_api_client, domino_version)
Description: Queries the Resource Usage Report endpoint and returns reliability data over the last week
- Result:
If the success percent is less than 95% this check will fail