From 83a56e22ab2c51e79e125dad5d56107d3b0dd2fc Mon Sep 17 00:00:00 2001 From: Arunprasad Rajkumar Date: Mon, 19 Jul 2021 15:46:14 +0530 Subject: [PATCH] docs: update unit_testing_rules to cover missing and stale samples (#9065) Signed-off-by: Arunprasad Rajkumar --- docs/configuration/unit_testing_rules.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/configuration/unit_testing_rules.md b/docs/configuration/unit_testing_rules.md index 1cf87d6b3e..d99255f01f 100644 --- a/docs/configuration/unit_testing_rules.md +++ b/docs/configuration/unit_testing_rules.md @@ -78,9 +78,13 @@ series: # Expanding notation: # 'a+bxc' becomes 'a a+b a+(2*b) a+(3*b) … a+(c*b)' # 'a-bxc' becomes 'a a-b a-(2*b) a-(3*b) … a-(c*b)' +# There are special values to indicate missing and stale samples: +# '_' represents a missing sample from scrape +# 'stale' indicates a stale sample # Examples: # 1. '-2+4x3' becomes '-2 2 6 10' # 2. ' 1-2x4' becomes '1 -1 -3 -5 -7' +# 3. ' 1 _x3 stale' becomes '1 _ _ _ stale' values: ```