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.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(usage_report_data, domino_version)
Description: Queries the Resource Usage Report endpoint and returns reliability data over the last week
- Failure Conditions:
Success percent is less than 95% for any job type (Notebook, Apps, Batch)
- Troubleshooting Steps:
Check the usage_report.csv file generated in the current working directory
Review failed/errored jobs in the Domino Admin UI
Check pod logs for jobs that failed to start or complete
- Resolution Steps:
Investigate specific job failures in the Admin console
Check cluster resource availability if jobs are failing to start
Review application logs for jobs with Error status
Required Permissions: Platform admin access to view usage reports
- Result:
If the success percent is less than 95% this check will fail
- domino_admin_toolkit.checks.test_domino_usage_report.usage_report_data(domino_api_client)
Collect usage report data from Domino API.