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

Add possibility to enable/disable performance metrics

    XMLWordPrintable

    Details

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

      In order to enable/disable performance metrics, you can use the following properties:
      On Broker side:

      DSB_ARENDER_ENDPOINT_METRICS_EXPORTHAS_DOCUMENT_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTBOOKMARKS_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTDOCUMENT_LAYOUT_ENABLED=true
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTDOCUMENT_METADATA_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTIMAGE_ENABLED=true
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTPAGE_CONTENTS_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTSEARCH_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTADVANCED_SEARCH_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTLOAD_DOCUMENT_ENABLED=true
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTEVICT_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTALTER_DOCUMENT_ENABLED=true
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTDOCUMENT_ACCESSOR_ENABLED=true
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTANNOTATION_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTCOMPARE_ENABLED=true
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTNAMED_DESTINATION=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTVIDEO_ENABLED=true
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTDOCUMENT_SIZE_ENABLED=true
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTDOCUMENT_DPI_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTWEATHER_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTREADINESS_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTSIGNATURE_ENABLED=false
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTPRINTABLE_PDF_ENABLED=true
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTCONVERT_ENABLED=true
      DSB_ARENDER_ENDPOINT_METRICS_EXPORTHEALTH_RECORD_ENABLED=false
      

      On Previewer side:

      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_HAS_DOCUMENT_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_BOOKMARKS_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_DOCUMENT_LAYOUT_ENABLED=true
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_DOCUMENT_METADATA_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_IMAGE_ENABLED=true
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_PAGE_CONTENTS_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_SEARCH_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_ADVANCED_SEARCH_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_LOAD_DOCUMENT_ENABLED=true
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_EVICT_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_ALTER_DOCUMENT_ENABLED=true
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_DOCUMENT_ACCESSOR_ENABLED=true
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_ANNOTATION_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_COMPARE_ENABLED=true
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_NAMED_DESTINATION=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_VIDEO_ENABLED=true
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_DOCUMENT_SIZE_ENABLED=true
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_DOCUMENT_DPI_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_WEATHER_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_READINESS_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_SIGNATURE_ENABLED=false
      ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_PRINTABLE_PDF_ENABLED=true
      
      Show
      In order to enable/disable performance metrics, you can use the following properties: On Broker side: DSB_ARENDER_ENDPOINT_METRICS_EXPORTHAS_DOCUMENT_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTBOOKMARKS_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTDOCUMENT_LAYOUT_ENABLED= true DSB_ARENDER_ENDPOINT_METRICS_EXPORTDOCUMENT_METADATA_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTIMAGE_ENABLED= true DSB_ARENDER_ENDPOINT_METRICS_EXPORTPAGE_CONTENTS_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTSEARCH_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTADVANCED_SEARCH_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTLOAD_DOCUMENT_ENABLED= true DSB_ARENDER_ENDPOINT_METRICS_EXPORTEVICT_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTALTER_DOCUMENT_ENABLED= true DSB_ARENDER_ENDPOINT_METRICS_EXPORTDOCUMENT_ACCESSOR_ENABLED= true DSB_ARENDER_ENDPOINT_METRICS_EXPORTANNOTATION_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTCOMPARE_ENABLED= true DSB_ARENDER_ENDPOINT_METRICS_EXPORTNAMED_DESTINATION= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTVIDEO_ENABLED= true DSB_ARENDER_ENDPOINT_METRICS_EXPORTDOCUMENT_SIZE_ENABLED= true DSB_ARENDER_ENDPOINT_METRICS_EXPORTDOCUMENT_DPI_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTWEATHER_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTREADINESS_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTSIGNATURE_ENABLED= false DSB_ARENDER_ENDPOINT_METRICS_EXPORTPRINTABLE_PDF_ENABLED= true DSB_ARENDER_ENDPOINT_METRICS_EXPORTCONVERT_ENABLED= true DSB_ARENDER_ENDPOINT_METRICS_EXPORTHEALTH_RECORD_ENABLED= false On Previewer side: ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_HAS_DOCUMENT_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_BOOKMARKS_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_DOCUMENT_LAYOUT_ENABLED= true ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_DOCUMENT_METADATA_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_IMAGE_ENABLED= true ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_PAGE_CONTENTS_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_SEARCH_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_ADVANCED_SEARCH_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_LOAD_DOCUMENT_ENABLED= true ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_EVICT_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_ALTER_DOCUMENT_ENABLED= true ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_DOCUMENT_ACCESSOR_ENABLED= true ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_ANNOTATION_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_COMPARE_ENABLED= true ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_NAMED_DESTINATION= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_VIDEO_ENABLED= true ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_DOCUMENT_SIZE_ENABLED= true ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_DOCUMENT_DPI_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_WEATHER_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_READINESS_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_SIGNATURE_ENABLED= false ARENDERSRV_ARENDER_ENDPOINT_METRICS_EXPORT_PRINTABLE_PDF_ENABLED= true

      Description

      We would like to be able to disable some of the performance metrics sent through the micrometer integration in order to reduce our Datadog costs.

      As of NEV-541, the improvement should be done on Previewer and Broker applications.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kleturc Kevin Leturc
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: