pyflink.metrics package¶
Module contents¶
- class pyflink.metrics.Counter(inner_counter)[source]¶
Bases:
MetricCounter metric interface. Allows a count to be incremented/decremented during pipeline execution.
- class pyflink.metrics.Distribution(inner_distribution)[source]¶
Bases:
MetricDistribution Metric interface.
Allows statistics about the distribution of a variable to be collected during pipeline execution.
- class pyflink.metrics.Meter(inner_counter)[source]¶
Bases:
MetricMeter Metric interface.
Metric for measuring throughput.
- class pyflink.metrics.MetricGroup[source]¶
Bases:
ABC- add_group(name: str, extra: Optional[str] = None) MetricGroup[source]¶
Creates a new MetricGroup and adds it to this groups sub-groups.
If extra is not None, creates a new key-value MetricGroup pair. The key group is added to this group’s sub-groups, while the value group is added to the key group’s sub-groups. In this case, the value group will be returned and a user variable will be defined.
- distribution(name: str) Distribution[source]¶
Registers a new Distribution with Flink.