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:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2021-05-20 22:04:58 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-05-20 22:04:58 +0300
commit4bfd134cde3aa29610454f83b24421b618ea083b (patch)
treeeabd887c1895edc80bc3d25914ca39691e11df67 /metrics
parent64a0f90dfbe5d255b1fb7df0aa481575037694a1 (diff)
Remove serverless code from Pages
Diffstat (limited to 'metrics')
-rw-r--r--metrics/metrics.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/metrics/metrics.go b/metrics/metrics.go
index f4e27f9b..0ae9bc48 100644
--- a/metrics/metrics.go
+++ b/metrics/metrics.go
@@ -54,18 +54,6 @@ var (
Help: "The number of GitLab API calls that failed",
})
- // ServerlessRequests measures the amount of serverless invocations
- ServerlessRequests = prometheus.NewCounter(prometheus.CounterOpts{
- Name: "gitlab_pages_serverless_requests",
- Help: "The number of total GitLab Serverless requests served",
- })
-
- // ServerlessLatency records serverless serving roundtrip duration
- ServerlessLatency = prometheus.NewHistogram(prometheus.HistogramOpts{
- Name: "gitlab_pages_serverless_latency",
- Help: "Serverless serving roundtrip duration",
- })
-
// DomainsSourceAPIReqTotal is the number of calls made to the GitLab API that returned a 4XX error
DomainsSourceAPIReqTotal = prometheus.NewCounterVec(prometheus.CounterOpts{
Name: "gitlab_pages_domains_source_api_requests_total",
@@ -243,8 +231,6 @@ func MustRegister() {
DomainsSourceAPICallDuration,
DomainsSourceAPITraceDuration,
DomainsSourceFailures,
- ServerlessRequests,
- ServerlessLatency,
DiskServingFileSize,
ServingTime,
VFSOperations,