Skip to content

Transactions per second on dashboard is incorrect for refresh rates other than 1s #10273

Description

@rouen-sk

On database dashboard, there is chart for "Transactions per second". However, it only shows correct numbers, if you have refresh rate 1s (which is not default, default is 5s). Otherwise it shows transactions per refresh interval.

Steps to reproduce the behavior:

  1. Start any consistent workload, for example 10 queries/s
  2. Go to database dashboard for that database
  3. "Transactions per second" will show 50 (if you have default refresh interval of 5s)
  4. Go to preferences, dashboard, refresh intervals, set 1s
  5. Look at dashboard again, it will show correctly 10

Expected behavior

Metric "Transactions per second" should be normalized for sampling rate, so it always show Transactions per second

pgAdmin version 9.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions