apache_beam.testing.benchmarks.nexmark.monitor module¶
- class apache_beam.testing.benchmarks.nexmark.monitor.Monitor(namespace: str, name_prefix: str)[source]¶
Bases:
object
A monitor of elements with support for later retrieving their metrics
monitor objects contains a doFn to record metrics
- Parameters:
namespace – the namespace all metrics within this Monitor uses
name_prefix – a prefix for this Monitor’s metrics’ names, intended to be unique in per-monitor basis in pipeline