Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceLevelCounters ¶
type ServiceLevelCounters struct { NumEmailsSent prometheus.Counter NumEmailsReceived prometheus.Counter NumMessageNacks prometheus.Counter NumMessageAcks prometheus.Counter SendgridEmailLatency prometheus.SummaryVec FailedSendgridRequestCount prometheus.Counter SuccessfulSendgridRequestCount prometheus.Counter FailedEmailUnMarshallingEvents prometheus.Counter }
ServiceLevelCounters witholds references counters specific to the email services
func New ¶
func New(servicename string) *ServiceLevelCounters
New initializes a set of counters for the email service
func (*ServiceLevelCounters) RegisterMetrics ¶
func (rc *ServiceLevelCounters) RegisterMetrics()
RegisterMetrics registers the service level counters to prometheus
type Telemetry ¶
type Telemetry struct { InfrastructureCounter *infrastructure.InfrastructureCounters ServiceCounters *ServiceLevelCounters }
Click to show internal directories.
Click to hide internal directories.