Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32329

Avoid publishing empty timer metrics to Datadog

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.50, 2023.8
    • Component/s: Monitoring
    • Release Notes Summary:
      You can reduce the number of Datadog metrics by discarding empty timers
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #106, nxplatform #107
    • Story Points:
      3

      Description

      A Code Wizzard timer is generating 16 custom metrics in Datadog: min, max, percentiles, count, sum, rates ...

      There is a expansion filter to limit the number of metrics per timer (9 with default filter and 6 with minimal filter) but this is still too much if the timer is empty because nothing was measured so far.

      The idea is to introduce an option to report empty timer as a counter with a value of 0, this will saves up to 15 custom metrics when the timer is not used.

      To avoid any regression, this option needs to be explicitly activated with

      metrics.datadog.emptyTimerAsCount=true
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: