octavia.statistics package

Subpackages

Submodules

octavia.statistics.stats_base module

class StatsDriverMixin[source]

Bases: object

abstract update_stats(listener_stats, deltas=False)[source]

Return a stats object formatted for a generic backend

Parameters:
  • listener_stats (list) – A list of data_model.ListenerStatistics objects

  • deltas (bool) – Indicates whether the stats are deltas (false==absolute)

update_stats_via_driver(listener_stats, deltas=False)[source]

Send listener stats to the enabled stats driver(s)

Parameters:
  • listener_stats (list) – A list of ListenerStatistics objects

  • deltas (bool) – Indicates whether the stats are deltas (false==absolute)

Module contents