Skip to content

Commit

Permalink
Merge 0a3a4d8 into 1287c51
Browse files Browse the repository at this point in the history
  • Loading branch information
cosminrentea committed Mar 17, 2017
2 parents 1287c51 + 0a3a4d8 commit cc61953
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions server/apns/apns_prometheus.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package apns

import (
"github.com/prometheus/client_golang/prometheus"
)

var (
pSentMessages = prometheus.NewCounter(prometheus.CounterOpts{
Name: "apns_sent_messages",
Help: "Number of messages sent to APNS",
})
)

func init() {
prometheus.MustRegister(
pSentMessages,
)
}

0 comments on commit cc61953

Please sign in to comment.