pub(crate) const ENVELOPE_METRICS: usize = 100;
The most metrics the Sentry SDK puts in one envelope. Its batcher queues the envelope for sending as soon as it holds this many, on the thread that captured the last one.