octavia.statistics.drivers package

octavia.statistics.drivers package

Submodules

octavia.statistics.drivers.logger module

class StatsLogger[source]

Bases: octavia.statistics.stats_base.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: octavia.statistics.stats_base.StatsDriverMixin

update_stats(listener_stats, deltas=False)[source]

This function is to update the db with listener stats

Module contents

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.