diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-03 00:08:19 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-07 21:38:47 +0300 |
commit | ddff37bc7cecf2f73a7bb82d60391505ad96a426 (patch) | |
tree | 88bdfc87ba74866da6224ddea200062fee31e5aa /README.md | |
parent | 1e31fac9d8a60efb3b2b536a46e059f286ab62c0 (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.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |