Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-13182

AM 6.0.0 CTS Connections Throughput panel should use rate() function

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0, 6.5.0
    • Fix Version/s: None
    • Component/s: monitoring
    • Labels:

      Description

      The "AM 6.0.0 CTS" Prometheus/Grafana sample dashboard includes a panel (bottom-left) which should show the rate at which connections are obtained from the DS SDK in order to perform the requested CTS task.

      Unfortunately, rather than showing a per-second rate this panel is showing the absolute count of attempts to obtain a connection (broken down into success and failure outcomes).

      To fix this issue, the PromQL rate() function should be used:

      Replace:

      am_cts_connection_count{job=~"$instance",outcome=~"$outcome"}
      

      With:

      rate(am_cts_connection_count{job=~"$instance",outcome=~"$outcome"}[90s])
      

      NB. related to this, the "All Task Throughput" rate() is calculated over a 5 minute window, rather than a 90 second window. It may be desirable to use a consistent window for these calculations (provided this does not lead to gaps in the lines drawn by Grafana).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              craig.mcdonnell Craig McDonnell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: