You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/adr/0013-flame-graph-support.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,8 @@ There are 2 possibilites to support the flame graph in the TSP.
22
22
23
23
The view itself is very similar to data providers of type `TIME_GRAPH`. The main difference is that the x-axis is the duration and not time. The Trace Compass back-end currently has such a data provider available with the same API than `TIME_GRAPH` data providers. However, this data provider is not exposed to the server through the `getDescriptor()` method of the corresponing data provider factory. It will need a new type to be added to the `ProviderType` enum.
24
24
25
-
With this solution similar endpoints can be defined which have the advantage that the endpoints and data structures are known. Back-end filtering and highlighting would be supported out of the box. Assuming the new `Provider Type` is called `gantt` the following endpoints will be defined:
25
+
With this solution the existing endpoint `TIME_GRAPH` endpoint and be agumented or similar endpoints can be defined which have the advantage that the endpoints and data structures are known. Back-end filtering and highlighting would be supported out of the box.
26
+
Assuming the `Provider Type` re-uses `timegraph` the endpoints for the flame graph will be as below:
26
27
27
28
```
28
29
POST /experiments/{expUUID}/outputs/{outputId}/styles
@@ -34,14 +35,14 @@ With this solution similar endpoints can be defined which have the advantage tha
34
35
POST /experiments/{expUUID}/outputs/{outputId}/annotations
35
36
Get list of annotation for a given annotation categories for this view
36
37
37
-
POST /experiments/{expUUID}/outputs/gantt/{outputId}/tree
38
+
POST /experiments/{expUUID}/outputs/timegraph/{outputId}/tree
38
39
Returns the gantt chart entry model
39
40
40
-
POST /experiments/{expUUID}/outputs/gantt/{outputId}/states
41
+
POST /experiments/{expUUID}/outputs/timegraph/{outputId}/states
41
42
Returns the states from the for given entries
42
43
43
-
POST /experiments/{expUUID}/outputs/gantt/{outputId}/tooltip
44
-
Get detailed information of a state, annotation or arrow
44
+
POST /experiments/{expUUID}/outputs/timegraph/{outputId}/tooltip
0 commit comments