-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Telemetry override for 'count' and 'sample_sum' (#354)
* Introduce Telemetry override for 'count' and 'sample_sum' In some rare cases -- like in the prometheus sink -- it's necessary to fake the count and sample_sum of a telemetry. Say, if you're windowing a certain troublesome kind of aggregation. Well, that's what this commit does: it lets you fake those two things. I expect the tests are broken now. I'll work those tomorrow. This work via feedback from @dparton. Signed-off-by: Brian L. Troutwine <blt@postmates.com> * Catch the tests up to Prometheus sink changes This commit catches our tests up to the changes made to Telemetry, in particular with regard to the overriding of sum and count for some kinds of Telemetry. Signed-off-by: Brian L. Troutwine <blt@postmates.com>
- Loading branch information
Showing
2 changed files
with
85 additions
and
12 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