rename metrics
This commit is contained in:
parent
85cd632b82
commit
7dddfde59a
1 changed files with 2 additions and 2 deletions
|
|
@ -12,11 +12,11 @@ import (
|
|||
|
||||
var (
|
||||
RemainingRequests = promauto.NewGaugeVec(prometheus.GaugeOpts{
|
||||
Name: "dockerhub_limit_remaining_requests_total",
|
||||
Name: "dockerhub_limit_remaining_requests",
|
||||
Help: "Docker Hub Rate Limit Remaining Requests",
|
||||
}, []string{"source_ip"})
|
||||
MaximumRequests = promauto.NewGaugeVec(prometheus.GaugeOpts{
|
||||
Name: "dockerhub_limit_max_requests_total",
|
||||
Name: "dockerhub_limit_max_requests",
|
||||
Help: "Docker Hub Rate Limit Maximum Requests",
|
||||
}, []string{"source_ip"})
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue