Skip to content

Commit 3355eb0

Browse files
author
sandeepmittal
committed
updated sphix docs: PS schema
1 parent e247cdf commit 3355eb0

1 file changed

Lines changed: 28 additions & 1 deletion

File tree

sphinx/source/io_schema/pserver_schema.rst

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The schema for the **'anomaly_stats'** object is as follows:
5151
| [
5252
| {
5353
| **'data'**: *Number of anomalies and anomaly time window for process/rank broken down by io step (array)*
54-
| [
54+
| [
5555
| {
5656
| **'app'**: *Program index*,
5757
| **'max_timestamp'**: *Latest time of anomaly in io step*,
@@ -89,6 +89,33 @@ The schema for the **'anomaly_stats'** object is as follows:
8989
| },
9090
| ...
9191
| ], *end of* **anomaly** *array*
92+
| **‘anomaly_metrics’**:
93+
| [
94+
| {
95+
| …,
96+
| **‘_id**: number, // a global index to track each (app, rank, func), for internal use
97+
| **'new_data'**: object //Statistics of anomaly metrics aggregated over multiple IO steps since the last pserver->viz send
98+
| {
99+
| **'first_io_step'**: number //first io step in sum
100+
| **'last_io_step'**: number //last io step in sum
101+
| **‘max_timestamp’**: number //max timestamp of last IO step of this period
102+
| **‘min_timestamp’**: number // min timestamp of first IO step of this period
103+
| **'severity'**: RunStats
104+
| **'score'**: RunStats
105+
| **'count'**: RunStats
106+
| }
107+
| **'all_data'**: object //Statistics of anomaly metrics aggregated since the beginning of the run
108+
| {
109+
| **'first_io_step'**: number //first io step in sum
110+
| **'last_io_step'**: number //last io step in sum
111+
| **‘max_timestamp’**: number, //max timestamp of last IO step since start of run
112+
| **‘min_timestamp’**: number, // min timestamp of first IO step since start of run
113+
| **'severity'**: RunStats
114+
| **'score'**: RunStats
115+
| **'count'**: RunStats
116+
| }
117+
| }
118+
| ], *end of* **anomaly_metrics**
92119
| **'func'**: *Statistics on anomalies broken down by function, collected over entire run to-date (array)*
93120
| [
94121
| {

0 commit comments

Comments
 (0)