master
md 33 lines 1.07 KB
Rendered Raw
1 # Min
2
3 This module finds the min value in the time-frame given.
4
5 ## how to use
6
7 Use it in alerts like this:
8
9 ```
10 alarm: my_alert
11 on: my_chart
12 lookup: min -1m unaligned of my_dimension
13 warn: $this > 1000
14 ```
15
16 `min` does not change the units. For example, if the chart units is `requests/sec`, the result
17 will be again expressed in the same units.
18
19 It can also be used in APIs and badges as `&group=min` in the URL.
20
21 ## Examples
22
23 Examining last 1 minute `successful` web server responses:
24
25 - ![](https://registry.my-netdata.io/api/v1/badge.svg?chart=web_log_nginx.response_statuses&options=unaligned&dimensions=success&group=min&after=-60&label=min&value_color=orange)
26 - ![](https://registry.my-netdata.io/api/v1/badge.svg?chart=web_log_nginx.response_statuses&options=unaligned&dimensions=success&group=average&after=-60&label=average)
27 - ![](https://registry.my-netdata.io/api/v1/badge.svg?chart=web_log_nginx.response_statuses&options=unaligned&dimensions=success&group=max&after=-60&label=max)
28
29 ## References
30
31 - <https://en.wikipedia.org/wiki/Sample_maximum_and_minimum>.
32
33