Refactor Prometheus recorder

- add flagger_info gauge metric
- expose the version and mesh provider as labels
- move the recorder to the metrics package
This commit is contained in:
stefanprodan
2019-03-28 11:58:19 +02:00
parent 48d9a0dede
commit 025785389d
4 changed files with 28 additions and 10 deletions
+1
View File
@@ -135,6 +135,7 @@ func main() {
logger,
slack,
meshProvider,
version.VERSION,
)
flaggerInformerFactory.Start(stopCh)