rhino_health.lib.metrics.aggregate_metrics.aggregation_service#

Module Contents#

Functions#

get_cloud_aggregated_metric_data(...)

custom_metric_aggregator(→ Dict[str, Any])

Aggregates the results from the individual datasets into one.

rhino_health.lib.metrics.aggregate_metrics.aggregation_service.get_cloud_aggregated_metric_data(session: rhino_health.lib.rhino_session.RhinoSession, dataset_uids: List[str], metric_configuration: rhino_health.lib.metrics.base_metric.BaseMetric, aggregation_method_override: Callable | None = None) rhino_health.lib.metrics.base_metric.MetricResponse#
rhino_health.lib.metrics.aggregate_metrics.aggregation_service.custom_metric_aggregator(metric_name: str, metric_results: List[Dict[str, Any]], aggregation_method: Callable, group_by: str | None = None, count_variable: str = 'variable') Dict[str, Any]#

Aggregates the results from the individual datasets into one.