0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-17 19:22:40 +00:00
netdata_netdata/web/api/queries/max/README.md
2023-08-15 20:56:24 +03:00

1.3 KiB

Max

This module finds the max value in the time-frame given.

how to use

Use it in alerts like this:

 alarm: my_alert
    on: my_chart
lookup: max -1m unaligned of my_dimension
  warn: $this > 1000

max does not change the units. For example, if the chart units is requests/sec, the result will be again expressed in the same units.

It can also be used in APIs and badges as &group=max in the URL.

Examples

Examining last 1 minute successful web server responses:

References