diff options
Diffstat (limited to 'metrics/metrics.go')
-rw-r--r-- | metrics/metrics.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/metrics/metrics.go b/metrics/metrics.go index db7cae9a..045ff26e 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -199,6 +199,13 @@ var ( Help: "The number of files per zip archive total count over time", }, ) + + RejectedRequestsCount = prometheus.NewCounter( + prometheus.CounterOpts{ + Name: "gitlab_pages_unknown_method_rejected_requests", + Help: "The number of requests with unknown HTTP method which were rejected", + }, + ) ) // MustRegister collectors with the Prometheus client |