Add prometheus instrumentation, count active ws conns (#8)

* Add prometheus instrumentation, count active ws conns

* Stop bum ticker

* Moving things around

* Handle unspecified host for ws proxy

* Add config reload counter

* metrics: rename conns -> players
This commit is contained in:
Kyle Travis
2020-08-17 10:59:30 -04:00
committed by GitHub
parent 0c54f31fd9
commit 1e1edac3a5
6 changed files with 73 additions and 1 deletions

View File

@ -11,6 +11,9 @@ spec:
metadata:
labels:
run: quakejs
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '8080'
spec:
containers:
- command: