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
With this commit we enhance `night-rally-admin` with a delete race
subcommand which can be used to cleanup broken results from the metrics
store in a consistent manner.
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,15 @@ If you have made an error you can also remove specific annotations by id.
68
68
69
69
For more details, please issue `night-rally-admin delete annotation --help`.
70
70
71
+
#### Remove a race
72
+
73
+
Sometimes we need to redo a benchmark run and then we need to cleanup data from the prior run. In order to do so, `night-rally-admin` can delete all relevant data.
74
+
75
+
1. Issue `night-rally-admin list races --environment=nightly` and find the race id of the race(s) you need to delete. Note that only the 20 most recent races are shown. You can show more, by specifying `--limit=NUMBER`.
76
+
2. Suppose the id of the race that we want to delete is `53f37522-b761-4e46-9a5c-e7f0d9d9258f`. Then issue `night-rally-admin delete race --id=53f37522-b761-4e46-9a5c-e7f0d9d9258f`. This will remove all data about this race from the metrics store.
77
+
78
+
For more details, please issue `night-rally-admin delete race --help`.
79
+
71
80
**Note:** The admin tool also supports a dry-run mode for all commands that would change the data store. Just append `--dry-run`.
72
81
73
82
#### Find logs, telemetry or heapdumps from older nightly runs
0 commit comments