Adding annotations for prometheus scraping to fission-core (#1098)

This commit is contained in:
Vishal
2019-03-06 17:34:23 +05:30
committed by GitHub
parent 49e0c3587b
commit 38b8cfaa0a
@@ -179,6 +179,10 @@ spec:
labels:
application: fission-router
svc: router
annotations:
prometheus.io/scrape: "true"
prometheus.io/path: "/metrics"
prometheus.io/port: "8080"
spec:
containers:
- name: router
@@ -251,6 +255,10 @@ spec:
metadata:
labels:
svc: executor
annotations:
prometheus.io/scrape: "true"
prometheus.io/path: "/metrics"
prometheus.io/port: "8080"
spec:
containers:
- name: executor