Class: Sentry::MetricEventBuffer

Inherits:
TelemetryEventBuffer show all
Defined in:
lib/sentry/metric_event_buffer.rb

Overview

MetricEventBuffer buffers metric events and sends them to Sentry in a single envelope.

This is used internally by the Sentry::Client.

Constant Summary collapse

DEFAULT_MAX_METRICS =
1000
MAX_METRICS_BEFORE_DROP =
10_000

Constants inherited from TelemetryEventBuffer

TelemetryEventBuffer::FLUSH_INTERVAL

Method Summary

Methods inherited from ThreadedPeriodicWorker

#ensure_thread, #kill