Threshold

A severity of a particular type is trigged whenever the returned value from the check is higher than the configured threshold, the baseline.

The notification threshold / baseline can be defined in several ways.

Setting Description
Method  `Constant` / `Average` / `Median` / `Deviation`
Percentage  Percentage threshold based on the calculated value.
Deviation  Number of standard deviations
Period  Time period for historical results to include in the calculation.
Offset  Constant to add to the calculated value.

Static calculations uses a constant threshold value.

Dynamic methods calculate the threshold value on the fly, based on a combination of the type (percentage or deviation), the method (average, median, deviation), the period (time frame for historical data to use), and offset which is added to the calculated value.

Method Calculation Type Example
Constant   A fixed value. Static  `25`
Average Average. Dynamic `120%` of the `average` returned value for the last 2 hours + offset `50`.
Median Median. Dynamic `120%` of the `median` value for the last 2 hours + offset `50`.
Deviation  Standard deviation. Dynamic `2 standard deviations` + `average` value for the last `2` hours + offset `50`.
{"ft_lang_label":"__label__en","ft_lang_prob":0.7444227,"math_prob":0.9693542,"size":1242,"snap":"2019-26-2019-30","text_gpt3_token_len":275,"char_repetition_ratio":0.15831988,"word_repetition_ratio":0.10880829,"special_character_ratio":0.22785829,"punctuation_ratio":0.103960395,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9771717,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-06-17T05:15:44Z\",\"WARC-Record-ID\":\"<urn:uuid:2acb9231-5fe3-449c-94fe-890ef101c3c6>\",\"Content-Length\":\"65084\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8618d0a6-47de-4762-8046-2044ba69fa8d>\",\"WARC-Concurrent-To\":\"<urn:uuid:b1a263d0-a33e-432e-9d37-b857efa71e5d>\",\"WARC-IP-Address\":\"62.63.205.148\",\"WARC-Target-URI\":\"http://wiki.iopsys.se/glossary/t/threshold\",\"WARC-Payload-Digest\":\"sha1:KJZZ2KR42FBBBS2CL2NSNXX3IVWNHD4U\",\"WARC-Block-Digest\":\"sha1:YY5X4F75S3PXXH6EANSIYRRQNGRPM4LW\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-26/CC-MAIN-2019-26_segments_1560627998376.42_warc_CC-MAIN-20190617043021-20190617065021-00350.warc.gz\"}"}