Compare commits
16
Commits
6555ed70e9
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e70fb7df76 | ||
|
|
e79c81ea74 | ||
|
|
9578879cbc | ||
|
|
5796c5780e | ||
|
|
53d646f4ef | ||
|
|
e18a66b222 | ||
|
|
f8ecb6efbe | ||
|
|
961a491fe4 | ||
|
|
e83898a0b4 | ||
|
|
b0b18d17b1 | ||
|
|
be031c151f | ||
|
|
af8a424db4 | ||
|
|
262d02353d | ||
|
|
33026bd274 | ||
|
|
ef7598e09c | ||
|
|
d115053078 |
@@ -10,8 +10,8 @@ metadata:
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/devitq/movienight-backend.git
|
||||
targetRevision: feat/setup-observability-in-k8s
|
||||
repoURL: https://git.itqdev.xyz/ITQ/movienight-backend.git
|
||||
targetRevision: main
|
||||
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": ""
|
||||
|
||||
@@ -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:
|
||||
applicationTag: movienight
|
||||
httpServerRequestsHistogram: "true"
|
||||
scrape:
|
||||
labels: {}
|
||||
vmagent:
|
||||
scrapeInterval: 10s
|
||||
backendJobName: movienight-backend
|
||||
|
||||
Reference in New Issue
Block a user