0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-28 14:42:31 +00:00
netdata_netdata/web/api/queries/max
Fotis Voutsas 2c60f324ee
Add markdown files in Learn ()
* add metadata for learn

* first batch of adding metadata to md files

* second batch of adding metadata to md files

* third batch of adding metadata to md files

* test one sidebar_label

* add missing sidebar_labels

* add missing sidebar_labels to files left behind

* test, ansible doc is stubborn

* fix

* fix

* fix

* don't use questionmarks in the sidebar label

* don't use exclamation marks and symbols in the sidebar label

* fix style guide

* fixes

* fixes
2023-02-08 09:48:19 -08:00
..
Makefile.am Makefile.am files indentation () 2019-11-11 01:30:00 +02:00
max.c Multi-Tier database backend for long term metrics storage () 2022-07-06 14:01:53 +03:00
max.h Remove extern from function declared in headers. () 2022-10-09 16:38:49 +03:00
README.md Add markdown files in Learn () 2023-02-08 09:48:19 -08:00

Max

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

how to use

Use it in alarms like this:

 alarm: my_alarm
    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