pubsub.metrics_agent¶
Classes¶
Any metric client should implement this interface |
Module Contents¶
- class pubsub.metrics_agent.MetricsAgent¶
Any metric client should implement this interface to be compatible with subscriber.subscribe
- histogram(metric, value)¶
- Parameters:
metric (str)
value (float)
- Return type:
None
- increment(metric, value=1)¶
- Parameters:
metric (str)
value (float)
- Return type:
None