Details
-
Improvement
-
Status: Done
-
Major
-
Resolution: Done
-
None
-
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.