aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-resources/templates/servicemonitor.yaml
diff options
context:
space:
mode:
authorleila <leila.nishimwe@bell.ca>2022-11-15 11:33:21 -0500
committerleila <leila.nishimwe@bell.ca>2022-11-25 14:11:18 -0500
commit680ea8d25c9723a7978f4fef55cd90ca27ee9171 (patch)
tree1209b5252398faac31ff0b3f0361150c7bd0b5b1 /kubernetes/aai/components/aai-resources/templates/servicemonitor.yaml
parent43815726c3cf6259004c7a6343f710f049c348ee (diff)
[AAI] Service monitor for scraping prometheus metrics
Changes are done for aai resources graphadmin and traversal Session affinity for aai resources traversal and aai haproxy Issue-ID: AAI-3599 Signed-off-by: leila <leila.nishimwe@bell.ca> Change-Id: Ib3853c45051ca8e9c025bd0d6e700a08a54cb1a9
Diffstat (limited to 'kubernetes/aai/components/aai-resources/templates/servicemonitor.yaml')
-rw-r--r--kubernetes/aai/components/aai-resources/templates/servicemonitor.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-resources/templates/servicemonitor.yaml b/kubernetes/aai/components/aai-resources/templates/servicemonitor.yaml
new file mode 100644
index 0000000000..c0d9f212b4
--- /dev/null
+++ b/kubernetes/aai/components/aai-resources/templates/servicemonitor.yaml
@@ -0,0 +1,3 @@
+{{- if .Values.metrics.serviceMonitor.enabled }}
+{{ include "common.serviceMonitor" . }}
+{{- end }} \ No newline at end of file