-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose aggregate metadata namespace for UI (#3345)
* Expose aggregate metadata namespace for UI PBENCH-1091 Managing the display of metadata in the dashboard is complicated by the fact that much of the namespace is highly dynamic: the `global` and `user` spaces are completely defined by clients, and can be completely different for each dataset, while the `dataset.metalog` namespace depends on the agent benchmark parameters and postprocessing. In order to provide a reference point, this PR proposes a way to acquire a JSON document representing the aggregated namespace across a set of selected datasets. It leverages the existing `GET /datasets` collection query for this purpose, including all the filter keywords: however instead of returning a list of matching datasets, it builds a JSON document showing the nested key namespace. A partial example follows: ``` GET /api/v1/datasets?keysummary=true ----- { "dataset": { "access": null, "id": null, "metalog": { "iterations/0__linpack-binary=:root:linpack:xlinpack_xeon64": { "clients": null, "iteration_name": null, "iteration_number": null, "linpack-binary": null }, [...] } } } ```
- Loading branch information
Showing
2 changed files
with
208 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters