You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the peer queue size too small; cause stress relief to trigger because the peer queue fills up. When stress relief activates, it stops sending traffic to peers, and thus the metric will never update and the stress indicator never resets.
That metric is controlled by libhoney. Options are to periodically send something to peers, or to change how that metric updates in libhoney.
The text was updated successfully, but these errors were encountered:
## Which problem is this PR solving?
- #688
When stress relief activates, it stops sending peer traffic. But the
metrics that update stress relief based on peer volume only update when
there's peer traffic.
This causes any trace that refinery keeps (forwards to Honeycomb) in
stress relief mode to *also* be sent as a probe to the appropriate peer
(which then drops it). This ensures that a little bit of traffic also
gets to peers, which keeps the system operating normally and updating
metrics.
## Short description of the changes
- Make a copy of the incoming event as a probe whenever stress relief is
active and would keep a span; if the probe would have been sent to a
peer, send it.
- When a probe is received from a peer, drop it without further
examination.
- Log when this happens on both sides.
- Add the stress relief reason to the `meta.refinery.reason` field for
kept spans so that it's not only found in the logs.
---------
Co-authored-by: Alyson van Hardenberg <avanhardenberg@honeycomb.io>
## Which problem is this PR solving?
- We had made some fixes on a branch for internal deployments. This
pulls them over without closing that branch.
## Short description of the changes
- Sends a small amount of data to peers during stress relief; Closes#688
- Adds stress relief reason to the meta.refinery.reason when stress
relief is activated
- Fixes a bug where json that got unmarshaled as []byte would panic
---------
Co-authored-by: Alyson van Hardenberg <avanhardenberg@honeycomb.io>
Steps to reproduce
That metric is controlled by libhoney. Options are to periodically send something to peers, or to change how that metric updates in libhoney.
The text was updated successfully, but these errors were encountered: