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-02-03 00:08:19 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-02-07 21:38:47 +0300
commitddff37bc7cecf2f73a7bb82d60391505ad96a426 (patch)
tree88bdfc87ba74866da6224ddea200062fee31e5aa /README.md
parent1e31fac9d8a60efb3b2b536a46e059f286ab62c0 (diff)
Improve complexity metrics
Also fixed the dependencies, moved metrics to its own package and updated the tests
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1f5bf7b5..5310d47e 100644
--- a/README.md
+++ b/README.md
@@ -72,6 +72,17 @@ go build
This is most useful in dual-stack environments (IPv4+IPv6) where both Gitlab Pages and another HTTP server have to co-exist on the same server.
+### Enable Prometheus Metrics
+
+For monitoring purposes, one could pass the `-metrics-address` flag when
+starting. This will expose general metrics about the Go runtime and pages
+application for [Prometheus](https://prometheus.io/) to scrape.
+
+Example:
+```
+./gitlab-pages -listen-http ":8090" -metrics-address ":9101" -pages-root path/to/gitlab/shared/pages -pages-domain example.com
+```
+
### License
MIT