Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'metrics')
-rw-r--r--metrics/metrics.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/metrics/metrics.go b/metrics/metrics.go
index 3bf4d7a8..18fd3fdd 100644
--- a/metrics/metrics.go
+++ b/metrics/metrics.go
@@ -28,26 +28,10 @@ var (
Name: "gitlab_pages_last_domain_update_seconds",
Help: "UNIX timestamp of the last update",
})
-
- // ProcessedRequests is the number of HTTP requests served
- ProcessedRequests = prometheus.NewCounterVec(prometheus.CounterOpts{
- Name: "gitlab_pages_http_requests_total",
- Help: "Total number of HTTP requests done serving",
- },
- []string{"code", "method"},
- )
-
- // SessionsActive is the number of HTTP requests currently being processed
- SessionsActive = prometheus.NewGauge(prometheus.GaugeOpts{
- Name: "gitlab_pages_http_active_sessions",
- Help: "The number of HTTP requests currently being processed",
- })
)
func init() {
prometheus.MustRegister(DomainsServed)
prometheus.MustRegister(DomainUpdates)
prometheus.MustRegister(DomainLastUpdateTime)
- prometheus.MustRegister(ProcessedRequests)
- prometheus.MustRegister(SessionsActive)
}