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:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-01-26 00:11:28 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-02-02 23:52:30 +0300
commit1e31fac9d8a60efb3b2b536a46e059f286ab62c0 (patch)
tree3d751e07782a5e9489a46d6f4c6a96ea34cb08e6 /app_config.go
parentbc4aa822bff4ec2a3a3fdb1daa915782331ad08a (diff)
Prometheus monitoring for GitLab Pages
This starts of the prometheus monitoring for GitLab Pages, and resolves gitlab-org/gitlab-pages#42 Point to check: - Are the metric names good, keeping Prometheus' conventions in mind? - Golang, general style etc - Shouldn't I do some voodoo magic to import this in the library?
Diffstat (limited to 'app_config.go')
-rw-r--r--app_config.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/app_config.go b/app_config.go
index 7ffa1e76..8220bb87 100644
--- a/app_config.go
+++ b/app_config.go
@@ -6,9 +6,10 @@ type appConfig struct {
RootCertificate []byte
RootKey []byte
- ListenHTTP []uintptr
- ListenHTTPS []uintptr
- ListenProxy []uintptr
+ ListenHTTP []uintptr
+ ListenHTTPS []uintptr
+ ListenProxy []uintptr
+ MetricsAddress string
HTTP2 bool
RedirectHTTP bool