Closed johha closed 5 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/162702016
The labels on this github issue will be updated when the story is started.
@johha The missing origin is a bug in cf-deployment that was fixed with this PR.
As for the missing delta, we changed the way the Loggregator Agent emits metrics and will now only emit the totals.
@johha I am going to close this issue for now. Please feel free to re-open if you have further concerns about the bug or the change to the metrics not sending the delta.
@johha Just to expand a bit on dropping the delta: Most downstream consumers (Prometheus, Infux, Datadog, OpenTSDB...) have built-in functions to calculate the rate/derivative of counters and most metric libraries don't do well with the emission of deltas. Therefore, we are slowing moving to a system where we discourage the usage of deltas and prefer totals.
Do you have a specific setup or use-case that would require the deltas? If yes, I would be very interested in hearing about it.
Thanks for the quick clarification! We currently use the delta to sum up all CF.loggregator.metron..*.egress
values so that we get the an overall sent messages/sec value. This is used to detect unusual high logging loads (e.g. caused by chatty apps) in a CF installation. If the delta is not available any more, we'll have to calculate it using Riemann's derivative functions.
Hi,
we are updating our landscapes from CF v5.5 to v6.5. During testing we discovered that some counter events have changed.
Using the CF nozzle plugin, we see that the origin and delta fields are not populated correctly anymore: CF 5.5 (loggregator 104.0 / loggregator-agent 2.3)
CF 6.5 (loggregator 104.1 / loggregator-agent 3.2)
Can you check if this is bug or did we miss something in the release notes?
Thanks and best regards, Jochen & Johannes