Skip to content

server: out-of-spec isFiltered parameter used in DATA_TREE data providers #251

@bhufmann

Description

@bhufmann

Bug Description:

The server and clients (e.g. vscode-trace-extension) uses out-of-spec isFiltered parameter for in DATA_TREE data providers to query the back-end date for a given time range. For example, the vscode-trace-extension passes the isFiltered (true) and requested_timerange to get the time-range specific statistic for any DATA_TREE data providers .e.g Function Duration Statistic of the Trace Compass server. The Trace Compass server then appends the range statistics as Selection sub-tree beside the Total statistics sub-tree.

Other servers that are not the Trace Compass server won't benefit from this feature.

To fix this add the isFiltered parameter to the TSP API or update the trace-server back-end (and front-end) to not requiring that flag.

Note:

Steps to Reproduce:

  1. Run Trace Compass Server
  2. Run vscode-trace-extension
  3. Open LTTng UST trace with call stack events
  4. Open Function Duration Statistics view
  5. Open Developer Tools and go to Network tab
  6. Make a time selection in the Overview view

The Function Duration View will show the Selection sub-tree with selection based statistics

Additional Information

  • Operating System: Any
  • Trace Compass Version: master branch of today

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions