Closed sl0thentr0py closed 6 months ago
Merging #2247 (0e87bab) into master (478c4cf) will increase coverage by
0.12%
. The diff coverage is99.50%
.
will add unit lists in separate PR
@st0012 im gonna start merging these because we want to ship this week. If you have things you want changed, feel free to leave reviews anyway, I can change them separately.
Sentry::Metrics
module with 4 apis that map to the new 4Sentry::Metrics::Metric
classesincrement
- simple counterdistribution
- array of observationsgauge
- statistics (last/min/max/sum/count)set
- unique valuesSentry::Metrics::Aggregator
that starts a thread that flushes pending metric buckets in 5 second intervalsflush_shift
once per startup to create jitteringstatsd
type envelope that is not json so made a small change to theEnvelope::Item
Reference spec - https://develop.sentry.dev/sdk/metrics/
part of #2246