Compare commits
6
Commits
main
..
6555ed70e9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6555ed70e9 | ||
|
|
eb2774469a | ||
|
|
192a8151e4 | ||
|
|
be20f89994 | ||
|
|
d18908ccba
|
||
|
|
02c898c5f5
|
@@ -10,8 +10,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.itqdev.xyz/ITQ/movienight-backend.git
|
repoURL: https://github.com/devitq/movienight-backend.git
|
||||||
targetRevision: main
|
targetRevision: feat/setup-observability-in-k8s
|
||||||
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": ""
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
{{- 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,8 +125,6 @@ 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