..::lib::Smoke...tchers::Median(3)

✨ NAME ✨

okay so this is the ..::lib::Smoke...tchers::Median(3) page from the SmokePing manual, and the matcher is literally called Smokeping::matchers::Median β€” it finds persistent changes in latency. slay. πŸ’…

πŸ¦‹ OVERVIEW πŸ¦‹

The whole idea behind this matcher? Finding sustained changes in latency. That's the assignment, bestie. ✨

The median matcher takes a number of past median latencies. It splits the latencies into two groups β€” old and new β€” and again finds the median for each group. If the difference between the two medians is bigger than a certain value, it will give a match. No cap. 🫢

🌸 DESCRIPTION 🌸

Call the matcher with this exact sequence:

type = matcher
pattern =  Median(old=>x,new=>y,diff=>z)

This creates a matcher which consumes x+y latency-datapoints, builds the two medians, and matches if the difference between the median latency is larger than z seconds. iconic. πŸ‘‘

Copyright (c) 2004 by OETIKER+PARTNER AG. All rights reserved.

πŸ‘‘ LICENSE πŸ‘‘

Legal tea time β˜• β€” here's the word-for-word version, because this part is serious:

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

πŸ’œ AUTHOR πŸ’œ

Tobias Oetiker <tobi@oetiker.ch> β€” icon behavior. 🫢

mwah πŸ’‹ source/version 2.9.0, date 2025-06-30 β€” that's the footer, bestie. bye! 🌈

πŸ“¦ where this page comes from