Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Telemetry override for 'count' and 'sample_sum' #354

Merged
merged 2 commits into from
Dec 6, 2017

Conversation

blt
Copy link
Collaborator

@blt blt commented Dec 5, 2017

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.

@blt blt requested a review from dparton December 5, 2017 17:16
tsantero
tsantero previously approved these changes Dec 5, 2017
Brian L. Troutwine added 2 commits December 5, 2017 16:44
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>
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>
@blt blt force-pushed the keep_count_sum_alive_in_prom_sink branch from 45cc75d to 7019c54 Compare December 6, 2017 00:45
@blt blt merged commit 86f753c into master Dec 6, 2017
@blt blt deleted the keep_count_sum_alive_in_prom_sink branch December 6, 2017 02:01
blt pushed a commit that referenced this pull request Dec 6, 2017
This release adjusts the Elasticsearch sink to better handle timeouts
and clear its internal buffer. Also, we now keep a long-lived sum/count
for Prometheus sink Summaries, even despite the windowing.

  * 859ca8a :: Avoid catastrophic failure when an ES request times out (#356)
  * 071328c :: Perform a linear search in ES buffer (#357)
  * 86f753c :: Introduce Telemetry override for 'count' and 'sample_sum' (#354)

Signed-off-by: Brian L. Troutwine <blt@postmates.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants