devstack/tools/dbcounter
Dan Smith d115bfd72a Reduce the flush frequency of dbcounter plugin
This relaxes the limits for dbcounter to make it flush stats to the
database less often. Currently every thirty seconds or 100 hits, we
write a stats line to the database. In some services (like keystone)
this can trigger more than one write per second because of the
massive number of SELECT calls that service makes.

This removes the hit limit and decreases the mandatory flush interval
to once a minute. Hopefully this will manifest as lower load on the
database triggered by what would be readonly operations.

Change-Id: I43a58532c0541075a2d36408abc50a41f7994bda
2023-07-31 07:20:12 -07:00
..
dbcounter.py Reduce the flush frequency of dbcounter plugin 2023-07-31 07:20:12 -07:00
pyproject.toml Change DB counting mechanism 2022-05-12 07:55:02 -07:00
setup.cfg Fix dbcounter installation on Jammy 2022-05-20 10:35:18 -07:00