Adding annotations for prometheus scraping to fission-core (#1098)
This commit is contained in:
@@ -179,6 +179,10 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
application: fission-router
|
application: fission-router
|
||||||
svc: router
|
svc: router
|
||||||
|
annotations:
|
||||||
|
prometheus.io/scrape: "true"
|
||||||
|
prometheus.io/path: "/metrics"
|
||||||
|
prometheus.io/port: "8080"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: router
|
- name: router
|
||||||
@@ -251,6 +255,10 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
svc: executor
|
svc: executor
|
||||||
|
annotations:
|
||||||
|
prometheus.io/scrape: "true"
|
||||||
|
prometheus.io/path: "/metrics"
|
||||||
|
prometheus.io/port: "8080"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: executor
|
- name: executor
|
||||||
|
|||||||
Reference in New Issue
Block a user