TL;DR: if Refinery panics with `send on closed channel` every time the rules file reloads, upgrade to a Refinery release containing the fix for issue #807 (PR #810). The metrics/libhoney client was being torn down on reload, so subsequent metric reports went to a closed channel and crashed the service.

```text
panic: send on closed channel
```

## Steps

1. Upgrade Refinery to a release newer than the 1.19/2.0.2 era that includes the PR #810 fix.

   Expected: installed version postdates the fix.

2. Trigger a rules reload (update the rules file on disk).

   Expected: the reload completes and the service keeps running. Success check: no panic in the logs and metrics keep flowing.

## When to use this

- Refinery 1.19.0 (also 1.18) with Logger = "honeycomb" and Metrics = "honeycomb".
- The panic in libhoney-go transmission.tryAdd happens on every rules file reload, crashing the service.

## When NOT to use this

- Refinery panics at startup without any reload; that is a different bug.
- You do not use the honeycomb logger/metrics path.

## Compatibility

- Refinery 1.18/1.19.0 through 2.0.2 era; fixed upstream in PR #810.

## Variant phrasings

- "refinery panic rules reload"
- "refinery send on closed channel libhoney"
- "honeycomb refinery crashes on config reload"

## Root cause

On rules reload the metrics/libhoney client was torn down, and subsequent metric reports were sent on the now-closed channel, panicking the process.

## Edge cases

- If you cannot upgrade immediately, avoid live-reloading rules (restart the service instead) until you can.

Source: https://github.com/honeycombio/refinery/issues/595