Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APICallsOpts ¶
type APIResponseLatencyOpts ¶
type DeliveryErrorRate ¶
type DeliveryErrorRate struct {
Type string
}
type DeliveryLatencyOpts ¶
type DeliveryLatencyOpts struct {
Type string
}
type OutpostMetrics ¶
type OutpostMetrics interface {
DeliveryLatency(ctx context.Context, latency time.Duration, opts DeliveryLatencyOpts)
EventDelivered(ctx context.Context, deliveryEvent *models.DeliveryEvent, ok bool, destinationType string)
EventPublished(ctx context.Context, event *models.Event)
EventEligbible(ctx context.Context, event *models.Event)
APIResponseLatency(ctx context.Context, latency time.Duration, opts APIResponseLatencyOpts)
APICalls(ctx context.Context, opts APICallsOpts)
}
func New ¶
func New() (OutpostMetrics, error)
Click to show internal directories.
Click to hide internal directories.