forked from triton-inference-server/core
-
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.
Update prometheus-cpp and Metric API unit tests (triton-inference-ser…
…ver#115) * Add more cases to metric api unit test * Add more metrics API unit tests for duplicate metric family / metric entries and update label hasher for latest prometheus version * Add MetricFamily::Unregister(), add ref count tests to unit tests * cleanup * Gracefully handle out of order deletion of MetricFamily before Metric * Add check for specific error message on out-of-order deletion * Remove unregistration logic, add unit test that fetches a core metric * Cleanup * cleanup * Add more documentation on metric/mf delete and labels ownership * Add lock on child_metrics.erase, add helper for metric api calls in unit test * Invalidate metric on metric family delete, add unit test for calling metric APIs after MetricFamilyDelete * cleanup errors * Add check on MetricFamilyDelete to enforce ordering, add test using triton::core implementation to force deletion and test use of Metric after MetricFamilyDelete * Add note on errors in Metric/MF delete * Undo import removal * Test tracking of child metrics in family, add MetricFamily::NumMetrics()
- Loading branch information
Showing
8 changed files
with
661 additions
and
145 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
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
Oops, something went wrong.