mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-04-07 00:15:23 +02:00
change fix a few more changes try a fix more fixes add replica count more fixes remove some stuff more changes more changes change change more fixes add helm support for metrics exporter try a fix
21 lines
No EOL
621 B
YAML
21 lines
No EOL
621 B
YAML
{{- if .Values.serviceMonitor.enabled }}
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: {{ include "librechat-exporter.fullname" . }}
|
|
labels:
|
|
{{- include "librechat-exporter.labels" . | nindent 4 }}
|
|
{{- with .Values.serviceMonitor.labels }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
endpoints:
|
|
- interval: {{ .Values.serviceMonitor.interval }}
|
|
path: /metrics
|
|
port: http
|
|
scheme: http
|
|
scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }}
|
|
selector:
|
|
matchLabels:
|
|
{{- include "librechat-exporter.selectorLabels" . | nindent 6 }}
|
|
{{- end }} |