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
Copy file name to clipboardExpand all lines: docs/runbook/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,3 +23,4 @@ This page gathers the available guides to operate a Mithril network.
23
23
|**Publish packages to npm manually**|[manual-publish-npm](./manual-publish-npm/README.md)| Manually publish packages to npm registry. |
24
24
|**Client multi-platform test**|[test-client-multiplatform](./test-client-multiplatform/README.md)| Run multi-platform client CLI binaries, docker and WASM package tests. |
25
25
|**Maintain the networks configuration file**|[maintain-networks-configuration-file](./maintain-networks-configuration-file/README.md)| Maintain the `networks.json` file |
The content of the metric is a json that contains the counter value, the date the value was measured and the duration that corresponds to the measurement.
13
+
14
+
Json sample:
15
+
16
+
```json
17
+
{
18
+
"content": {
19
+
"counter": 6,
20
+
"date": "2024-10-28T16:43:18.858027008Z",
21
+
"duration": {
22
+
"nanos": 0,
23
+
"secs": 10
24
+
}
25
+
},
26
+
"headers": {}
27
+
}
28
+
```
29
+
30
+
Each event represents the number of hits on the counter since the last period of timed.
31
+
32
+
A view `metrics_per_day` is available to calculate the value of a metric over a day.
33
+
34
+
The following request displays the sum of counter for each metric on the specify day.
35
+
`select date, counter_name, value from metrics_per_day where date='2024-10-29';`
0 commit comments