gigl.common.metrics.metrics_interface#
Classes#
Interface to implement to publish metrics to some monitoring system. |
Module Contents#
- class gigl.common.metrics.metrics_interface.OpsMetricPublisher[source]#
Bases:
abc.ABC
Interface to implement to publish metrics to some monitoring system.
To publish metrics to a monitoring system, you need to implement a class with this interface and expose the class path in the task config file: ``` metrics_config:
metrics_cls_path: “path.to.the.class.that.implements.OpsMetricPublisher”