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

Datadog plugin should allow to filter metrics

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10-HF37, 8.10-HF25, 9.10-HF02
    • Fix Version/s: 10.2
    • Component/s: Datadog

      Description

      Currently, the Datadog plugin is a bridge between the internal metrics registry of Nuxeo and Datadog without any filtering of what has to be sent.

      The plugin should be able to define some filter on what has to be sent:

      • filter on the name of the metrics
      • filter on the number of expansions that we send

      The contributions could look like that

              <configuration>
                <apiKey>DATADOG_API_KEY</apiKey>
                <host>testhost.com</host>
                <pollInterval>25</pollInterval>
      
                <!-- Filter method can ben substring|regex|string -->
                <filter method="substring">
                  <includes>
                    <include>jvm.</include>
                    <include>nuxeo.</include>
                  </includes>
                  <excludes>
                    <exclude>jvm.useless</exclude>
                  </excludes>
                  <expansions>
                    <expansion>count</expansion>
                    <expansion>p99</expansion>
                  </expansions>
                </filter>
              </configuration>
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: