Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-543

Add possibility to enable/disable tags on performance metrics

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: arender-2.1.0
    • Component/s: ARender
    • Release Notes Description:
      Hide

      It is now possible to enable/disable tags added to the performance metrics sent to the monitoring system with the following properties:

      # Whitelist tags to be exported, comma separated
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_WHITELIST_TAGS=host,documentId,mimeType
      

      The possible values are:

      • correlationId
      • contentSize
      • documentId
      • documentIds
      • documentTitle
      • exceptionClass
      • exceptionMessage
      • mimeType
      • page
      • pageCount
      • pageDescription
      • pageWidth
      • pageRotation
      • documentWidth
      • documentHeight
      • duration (video)
      • moduleLoadingTime
      • documentLoadingTime
      • selector
      • offset
      • finished
      • documentIdLeft
      • documentIdRight
      • formatType
      Show
      It is now possible to enable/disable tags added to the performance metrics sent to the monitoring system with the following properties: # Whitelist tags to be exported, comma separated ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_WHITELIST_TAGS=host,documentId,mimeType The possible values are: correlationId contentSize documentId documentIds documentTitle exceptionClass exceptionMessage mimeType page pageCount pageDescription pageWidth pageRotation documentWidth documentHeight duration (video) moduleLoadingTime documentLoadingTime selector offset finished documentIdLeft documentIdRight formatType

      Description

      We would like to be able to disable some tags on the performance metrics:

      • documentId: because due to the high number of different values, this will cause tag cardinality explosion, see for example https://www.robustperception.io/cardinality-is-key
      • exceptionMessage: because some error contains the full Java stack trace and this will cause Payload too large. error when the metrics are sent to Datadog and so the metrics are lost from this moment until the broker is restarted

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: