Files
amcs/vendor/github.com/getsentry/sentry-go/report/outcome.go
T
Hein 1adf50e3db
CI / build-and-test (push) Failing after 1s
Release / release (push) Failing after 19m26s
fix(go.sum): update ResolveSpec dependency to v1.0.87
2026-06-23 13:17:16 +02:00

19 lines
481 B
Go

package report
import (
"github.com/getsentry/sentry-go/internal/ratelimit"
)
// OutcomeKey uniquely identifies an outcome bucket for aggregation.
type OutcomeKey struct {
Reason DiscardReason
Category ratelimit.Category
}
// DiscardedEvent represents a single discard event outcome for the OutcomeKey.
type DiscardedEvent struct {
Reason DiscardReason `json:"reason"`
Category ratelimit.Category `json:"category"`
Quantity int64 `json:"quantity"`
}