Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2476

Add usage metrics in HTTP headers

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 5.1.0
    • Component/s: Framework, Remote client
    • Release Notes Summary:
      Usage Metrics
    • Release Notes Description:
      Hide

      Usage metrics have been added using custom HTTP headers. Those metrics are only sent to the platform and exclusively when the application calls specifics operations or endpoints.
      Some of those metrics are sent in a specific process to avoid spamming the platform and can be disabled through the custom-metric parameter.

      Show
      Usage metrics have been added using custom HTTP headers. Those metrics are only sent to the platform and exclusively when the application calls specifics operations or endpoints. Some of those metrics are sent in a specific process to avoid spamming the platform and can be disabled through the custom-metric parameter.
    • Tags:
    • Sprint:
      nxDrive 11.2.12, nxDrive 11.2.14, nxDrive 11.2.15
    • Story Points:
      5

      Description

      • Add Remote.send_metrics() to call the /me endpoint with custom metrics into HTTP headers.
      • Add Options.enable_custom_metrics (boolean, True by default) to allow or not to actually send metrics.
      • Add metrics to operations inside custom HTTP headers. See the DEP for details.
      • Add unit test for the new User-Agent, it must be well parsed in Datadog.
      • Add unit test for Remote.send_metrics().

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 weeks
                  2w