This block determines the presence of success/error historical graphs. Its data structure is as follows;
{
"data_counts": <int>,
"data_success": <int>,
"data_errors": <int>,
"data_failed": <object>,
"success_rate": <float>,
}
data_counts is the total number of data points inserted.data_success is the total number of data points with a success status.data_errors is the total number of data points with an error status; these should have their error messages added to the data_failed object, as well as a count per error.data_failed is an object with the following format: { "Error message" : <Error count> }. It is used to display a detailed recount of all errors.success_rate is a float between 0 and 1, and is the ratio of data_success relative to data_counts as a percentage.As such, any error is supported as long as it is produced in this format.
This block determines the presence of the last runs display. Its data structure looks like this;
{
"data_counts": <int>,
"success_rate": <float>,
"start_time": <timestamp>,
"end_time": <timestamp>,
}
data_counts is the total number of data points available within the given timeframesuccess_rate is a float between 0 and 1, and is the rate of success for data points relative to their total count as a percentage.start_time and end_time are the timestamps defining the timeframe for the items to be considered. They have this format: '%Y-%m-%d %H:%M:%S'.