Skip to content

Commit

Permalink
fix: Added prometheus annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
kstigen committed Apr 16, 2024
1 parent 14a12e6 commit 25d7181
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deployment/kubernetes/deforestation-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,21 @@ spec:
metadata:
labels:
app: deforestation-api
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
prometheus.io/path: "/metrics"
spec:
containers:
- image: ghcr.io/openearthplatforminitiative/deforestation-api:0.3.0
- image: ghcr.io/openearthplatforminitiative/deforestation-api:0.3.1
name: deforestation-api
ports:
- containerPort: 8080
env:
- name: API_ROOT_PATH
value: "/deforestation"
- name: VERSION
value: 0.3.0
value: 0.3.1
- name: API_DOMAIN
valueFrom:
configMapKeyRef:
Expand Down

0 comments on commit 25d7181

Please sign in to comment.