nvflare.metrics.system_metrics_collector module
- class SysMetricsCollector(tags: dict, streaming_to_server: bool = False)[source]
Bases:
MetricsCollector- Parameters:
tags – comma separated static tags. used to specify server, client, production, test etc.
- get_pair_start_events()[source]
Returns events that explicitly start duration measurements.
Subclasses that define multiple pair events for one duration metric should list the start event here. If this returns None or no start event is defined for a metric, the collector preserves legacy toggle behavior for that metric.