Skip to content

Commit

Permalink
add-annotations-for-managed-prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliyan-valchev-ft committed Dec 19, 2024
1 parent 8a8cebf commit 492cc6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/upp-aggregate-healthcheck/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ spec:
app: {{ .Values.service.name }}
template:
metadata:
annotations:
{{- toYaml .Values.metrics.annotations | nindent 8 }}
labels:
app: {{ .Values.service.name }}
visualize: "true"
Expand Down
2 changes: 2 additions & 0 deletions helm/upp-aggregate-healthcheck/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ metrics:
interval: 30s
# the name of the prometheus instance, as defined in
# content-k8s-prometheus\helm\content-k8s-prometheus\app-configs\monitoring-metrics_{env}.yaml
annotations:
prometheus.io/scrape: "true"
prometheusInstance: monitoring-metrics

0 comments on commit 492cc6d

Please sign in to comment.