Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-9961

Telemetry: Trace duration between two events.

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • P2: Important
    • QDS 4.2
    • None
    • Telemetry
    • None
    • 4
    • QDS Berlin - 2023 Week 21/22
    • 621df696d (qds/dev), 9cdd6e8ed (qds/dev), 602e08dbe (qds/dev), 42870a0ab (qds/dev)

    Description

      It should be possible to trace the duration between two events, if the events come 'close' after each other.

      Use case:

      Trace the duration from bridge import to first preview/run.

      Idea:

      If the two events follow after each in other in less than e.g. 3 minutes, we create a new
      tracing event that logs the duration and count.

      The implementation can be generlized for any event, so we can utilize it for other use cases later.

      The API from QDS side will look similar to this:

      addDurationTracingEvent(idForNewDurationEvent, idForStartEvent, idForEndEvent, maxDuration);

      If idForNewDurationEventfollow after idForEndEvent in less then maxDuration, then idForNewEvent is created containing the exact duration and implicitly the count.

      In json the DataBase it would look like this:

      "qmlDesignerDuration"

      { "idForNewDurationEvent" : "list of integers, each is a duration in ms." }

      The number of events is stored implicitly as the size of the list.
      We can start with livePreviewAfterBirdgeImport and runAfterBridgeImport.

      Attachments

        For Gerrit Dashboard: QDS-9961
        # Subject Branch Project Status CR V

        Activity

          People

            thohartm Thomas Hartmann
            thohartm Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes