Compare commits
6
Commits
main
..
6555ed70e9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6555ed70e9 | ||
|
|
eb2774469a | ||
|
|
192a8151e4 | ||
|
|
be20f89994 | ||
|
|
d18908ccba
|
||
|
|
02c898c5f5
|
@@ -10,8 +10,8 @@ metadata:
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.itqdev.xyz/ITQ/movienight-backend.git
|
||||
targetRevision: main
|
||||
repoURL: https://github.com/devitq/movienight-backend.git
|
||||
targetRevision: feat/setup-observability-in-k8s
|
||||
path: deploy/helm/movienight
|
||||
helm:
|
||||
valuesObject:
|
||||
|
||||
@@ -1084,7 +1084,7 @@ data:
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "browser",
|
||||
"title": "MovieNight / Business",
|
||||
"title": "MovieNight Business",
|
||||
"uid": "movienight-business",
|
||||
"version": 1,
|
||||
"weekStart": ""
|
||||
|
||||
@@ -820,7 +820,7 @@ data:
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "browser",
|
||||
"title": "MovieNight / RED",
|
||||
"title": "MovieNight RED",
|
||||
"uid": "movienight-red",
|
||||
"version": 1,
|
||||
"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:
|
||||
applicationTag: movienight
|
||||
httpServerRequestsHistogram: "true"
|
||||
scrape:
|
||||
labels: {}
|
||||
vmagent:
|
||||
scrapeInterval: 10s
|
||||
backendJobName: movienight-backend
|
||||
|
||||
Reference in New Issue
Block a user