Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CounterConnections = prometheus.NewCounter(prometheus.CounterOpts{ Name: "attempted_conns", Help: "Successful connections made to blindsigmgmt", }) CounterConnErrors = prometheus.NewCounter(prometheus.CounterOpts{ Name: "conn_errors", Help: "Number of failed connection attempts", }) CounterRedeemTotal = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_redeem", Help: "Total number of redemption requests", }) CounterRedeemSuccess = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_redeem_success", Help: "Total number of successful token redemptions", }) CounterRedeemError = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_redeem_error", Help: "Total number of errors with redemption requests", }) CounterRedeemErrorFormat = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_redeem_error_format", Help: "Total number of errors due to malformed redemption requests", }) CounterRedeemErrorVerify = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_redeem_error_verify", Help: "Total number of failed verification attempts of redeemed tokens", }) CounterIssueTotal = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_issue", Help: "Total number of issue requests", }) CounterIssueSuccess = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_issue_success", Help: "Total number of successful token issue requests", }) CounterIssueError = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_issue_error", Help: "Total number of errors with issue requests", }) CounterIssueErrorFormat = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_issue_error_format", Help: "Total number of errors due to malformed issue requests", }) CounterJsonError = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_json_error", Help: "Total number of incorrect JSON failures", }) CounterDoubleSpend = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_double_spend", Help: "Total number of double spend detections", }) CounterUnknownRequestType = prometheus.NewCounter(prometheus.CounterOpts{ Name: "total_unk_req_type", Help: "Total number of verification errors due to failure reading req type", }) BuildInfo = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "build_info", Help: "A metric with a constant '1' value labeled by version, and goversion from which btd was built.", }, []string{"version", "goversion"}, ) )
View Source
var (
GoVersion string = runtime.Version()
)
Functions ¶
func RegisterAndListen ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.