forked from cortexproject/cortex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds new metric for dropped samples in ingester (cortexproject#4503)
* Adding test case for dropping metrics by name to understand better flow of distributor Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Adding test case and new metric for dropped samples Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Updating CHANGELOG with new changes Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Fixing linting problem on distributor file Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Reusing discarded samples metric from validate package Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Compare labelset with len() instead of comparing to nil Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Undoing unnecessary changes on tests and distributor Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Small rename on comment Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Fixing linting offenses Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Reseting validation dropped samples metric to avoid getting metrics from other test runs Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Resolving problems after rebase conflicts Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Registering counter for dropped metrics in test Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Checking if user label drop configuration did not drop __name__ label Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> * Do not check for name label, adding new test Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com> Signed-off-by: Alvin Lin <alvinlin@amazon.com>
- Loading branch information
1 parent
cc7154b
commit b64a97d
Showing
4 changed files
with
196 additions
and
40 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters