templates: Add prometheus scrape annotations to composer-api

This commit is contained in:
sanne 2021-11-10 15:09:43 +01:00 committed by Sanne Raymaekers
parent 155a887bd1
commit 7f86dae69b

View file

@ -165,6 +165,9 @@ objects:
labels:
app: composer
port: composer-api
annotations:
prometheus.io/path: /metrics
prometheus.io/scrape: 'true'
spec:
ports:
- name: composer-api