Add prometheus endpoint

This commit is contained in:
Thomas von Rosenberg
2020-10-09 15:05:44 +02:00
committed by Thomas von Rosenberg
parent d231e65bec
commit 54859ed19c
8 changed files with 154 additions and 5 deletions

View File

@@ -50,3 +50,7 @@ SCREEGO_USERS_FILE=
# The loglevel (one of: debug, info, warn, error)
SCREEGO_LOG_LEVEL=info
# If screego should expose a prometheus endpoint at /metrics. The endpoint
# requires basic authentication from a user in the users file.
SCREEGO_PROMETHEUS=false