Skip to content

Commit

Permalink
fix: smoke metric (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
istae authored May 19, 2022
1 parent 4c836c8 commit f37cf91
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/check/smoke/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ func newMetrics() metrics {
Help: "Number of download attempts.",
},
),
UploadErrors: prometheus.NewCounter(
prometheus.CounterOpts{
Namespace: m.Namespace,
Subsystem: subsystem,
Name: "upload_errors_count",
Help: "The total number of errors encountered before successful upload.",
},
),
DownloadErrors: prometheus.NewCounter(
prometheus.CounterOpts{
Namespace: m.Namespace,
Expand Down

0 comments on commit f37cf91

Please sign in to comment.