Compare commits
14
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9578879cbc | ||
|
|
5796c5780e | ||
|
|
53d646f4ef | ||
|
|
e18a66b222 | ||
|
|
f8ecb6efbe | ||
|
|
961a491fe4 | ||
|
|
e83898a0b4 | ||
|
|
b0b18d17b1 | ||
|
|
be031c151f | ||
|
|
af8a424db4 | ||
|
|
262d02353d | ||
|
|
33026bd274 | ||
|
|
ef7598e09c | ||
|
|
d115053078 |
@@ -10,8 +10,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://github.com/devitq/movienight-backend.git
|
repoURL: https://git.itqdev.xyz/ITQ/movienight-backend.git
|
||||||
targetRevision: feat/setup-observability-in-k8s
|
targetRevision: develop
|
||||||
path: deploy/helm/movienight
|
path: deploy/helm/movienight
|
||||||
helm:
|
helm:
|
||||||
valuesObject:
|
valuesObject:
|
||||||
|
|||||||
@@ -1084,7 +1084,7 @@ data:
|
|||||||
},
|
},
|
||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "browser",
|
"timezone": "browser",
|
||||||
"title": "MovieNight Business",
|
"title": "MovieNight / Business",
|
||||||
"uid": "movienight-business",
|
"uid": "movienight-business",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"weekStart": ""
|
"weekStart": ""
|
||||||
|
|||||||
@@ -820,7 +820,7 @@ data:
|
|||||||
},
|
},
|
||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "browser",
|
"timezone": "browser",
|
||||||
"title": "MovieNight RED",
|
"title": "MovieNight / RED",
|
||||||
"uid": "movienight-red",
|
"uid": "movienight-red",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"weekStart": ""
|
"weekStart": ""
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{{- if .Values.observability.enabled }}
|
||||||
|
apiVersion: operator.victoriametrics.com/v1beta1
|
||||||
|
kind: VMServiceScrape
|
||||||
|
metadata:
|
||||||
|
name: {{ include "movienight.fullname" . }}-scrape
|
||||||
|
labels:
|
||||||
|
{{- include "movienight.componentLabels" (dict "root" . "component" "scrape") | nindent 4 }}
|
||||||
|
{{- with .Values.observability.scrape.labels }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.global.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- with .Values.global.annotations }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "movienight.componentSelectorLabels" (dict "root" . "component" "backend") | nindent 6 }}
|
||||||
|
|
||||||
|
namespaceSelector:
|
||||||
|
matchNames:
|
||||||
|
- {{ .Release.Namespace }}
|
||||||
|
|
||||||
|
endpoints:
|
||||||
|
- port: management
|
||||||
|
path: /actuator/prometheus
|
||||||
|
interval: 10s
|
||||||
|
|
||||||
|
podTargetLabels:
|
||||||
|
- app.kubernetes.io/component
|
||||||
|
- app.kubernetes.io/instance
|
||||||
|
{{- end }}
|
||||||
@@ -125,6 +125,8 @@ observability:
|
|||||||
metrics:
|
metrics:
|
||||||
applicationTag: movienight
|
applicationTag: movienight
|
||||||
httpServerRequestsHistogram: "true"
|
httpServerRequestsHistogram: "true"
|
||||||
|
scrape:
|
||||||
|
labels: {}
|
||||||
vmagent:
|
vmagent:
|
||||||
scrapeInterval: 10s
|
scrapeInterval: 10s
|
||||||
backendJobName: movienight-backend
|
backendJobName: movienight-backend
|
||||||
|
|||||||
Reference in New Issue
Block a user