Last active
February 5, 2020 16:46
-
-
Save mstump/abf9f7643424b3b2ef0cb693700af2bc to your computer and use it in GitHub Desktop.
Revisions
-
Matt Stump revised this gist
Feb 5, 2020 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,9 @@ # PromQL query looking for outliers in Cassandra tombstone activity # (mean tombstones scanned in Cassandra - the rolling average of the same value) # divided by the standard deviation ( ( mean_tombstones_scanned_avg{service="CASSANDRA"} - avg_over_time(mean_tombstones_scanned_avg{service="CASSANDRA"}[1d]) ) / (stddev_over_time(mean_tombstones_scanned_avg{service="CASSANDRA"}[1d])) -
Matt Stump revised this gist
Feb 5, 2020 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,6 @@ ( ( mean_tombstones_scanned_avg{service="CASSANDRA"} - avg_over_time(mean_tombstones_scanned_avg{service="CASSANDRA"}[1d]) ) / (stddev_over_time(mean_tombstones_scanned_avg{service="CASSANDRA"}[1d])) ) -
Matt Stump created this gist
Feb 3, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ ((mean_tombstones_scanned_avg{service="CASSANDRA"} - avg_over_time(mean_tombstones_scanned_avg{service="CASSANDRA"}[1d]))/(stddev_over_time(mean_tombstones_scanned_avg{service="CASSANDRA"}[1d])))