Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-1925

Provide Verbose View of Profile Results in REPL

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.7.1
    • Labels:
      None

      Description

      When viewing profile measurements in the REPL using PROFILE_GET, you simply get back a list of values. It is not easy to determine from which time period the measurements were taken.

      For example, are the following values all sequential?  Are there any gaps in the measurements taken over the past 30 minutes?  When was the first measurement taken?

      [Stellar]>>> PROFILE_GET("hello-world","global",PROFILE_FIXED(30, "MINUTES"))
      [2655, 1170, 1185, 1170, 1185, 1215, 1200, 1170]

      The `PROFILE_GET` function was designed to return values that serve as input to other functions.  It was not designed to return values in a human-readable form that can be easily understood.

      We need another way to query for profile measurements in the REPL that gives me a better understanding of the profile measurements.

        Attachments

          Activity

            People

            • Assignee:
              nickwallen Nick Allen
              Reporter:
              nickwallen Nick Allen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m