Skip to content

Commit 2736176

Browse files
[doc] Documented export csv option for redisbench-admin export (#230)
1 parent c91bd9f commit 2736176

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/export.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,23 @@ exporter:
132132
133133
# Exporting results
134134
135+
## Exporting opereto CSV results
136+
137+
Given the sample CSV file
138+
139+
```
140+
Test Name,OPS/sec,Latency,KB/sec,CPU Average endpoint1,Memory Average KB endpoint1,Memory Average KB endpoint2,CPU Average endpoint2,Average Shard Mem,MAX shard mem,MIN shard mem,Shard-1 memory average
141+
test_1sh_1wk_dual_ep_mixed_2thr_50conns_persistent_nssl_msetmget_kb_1p,74495.32,1.34,80788.07,23199,1.44,64056,0.06,195708,195708,195708,195708
142+
test_1sh_1wk_dual_ep_mixed_2thr_50conns_persistent_ssl_msetmget_kb_1p,42985.19,2.32,46659.86,27751,200.0,64100,0.06,281957,281957,281957,281957
143+
test_1sh_1wk_dual_ep_mixed_2thr_50conns_persistent_mtls_msetmget_kb_1p,43147.05,2.31,46835.18,27728,200.0,64100,0.06,281964,281964,281964,281964
144+
```
145+
146+
We can easily export it via the following command. Notice that the `--results-format` argument is required.
147+
```
148+
redisbench-admin export --results-format csv --deployment-name c5 --deployment-type enterprise --benchmark-result-file ./tests/test_data/2021-10-01.120753test_1sh_1wk_dual_ep_mixed_2thr_50conns_persistent_mtls_msetmget_kb_1p_csv_string.csv --redistimeseries_host localhost --redistimeseries_port 6379 --redistimeseries_pass "" --override-test-time "2021-01-01 11:00:00"
149+
```
150+
151+
135152
## Exporting memtier_benchmark results
136153

137154
Assuming you've ran memtier_benchmark with the option `--json-out-file <results file>` at the end of the benchmark

0 commit comments

Comments
 (0)