octavia.statistics.drivers package

Submodules

octavia.statistics.drivers.logger module

class StatsLogger[source]

Bases: StatsDriverMixin

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)

octavia.statistics.drivers.update_db module

class StatsUpdateDb[source]

Bases: StatsDriverMixin

update_stats(listener_stats, deltas=False)[source]

This function is to update the db with listener stats

Module contents