Unverified Commit f1c797f5 authored by rcarpa's avatar rcarpa Committed by GitHub
Browse files

Merge pull request #86 from rcarpa/prometheus_metrics_servers

servers: expose and collect server prometheus metrics
parents fea5417b c2ccdd5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
name: rucio-server
version: 1.27.1
version: 1.27.2
apiVersion: v1
description: A Helm chart to deploy servers for Rucio
keywords:
+9 −0
Original line number Diff line number Diff line
@@ -109,6 +109,11 @@ spec:
            - name: https
              containerPort: 443
              protocol: TCP
{{- if .Values.monitoring.enabled }}
            - name: metrics
              containerPort: {{ .Values.monitoring.nativeMetricsPort }}
              protocol: TCP
{{- end }}
          livenessProbe:
            httpGet:
              path: /ping
@@ -187,6 +192,10 @@ spec:
{{- else }}
            - name: RUCIO_ENABLE_SSL
              value: "False"
{{- end }}
{{- if .Values.monitoring.enabled }}
            - name: RUCIO_METRICS_PORT
              value: "{{ .Values.monitoring.nativeMetricsPort }}"
{{- end }}
            - name: RUCIO_SERVER_TYPE
              value: "{{ .Values.serverType.authServer }}"
+5 −0
Original line number Diff line number Diff line
@@ -20,6 +20,11 @@ spec:
 {{- if .Values.monitoring.telemetryPath }}
    path: {{ .Values.monitoring.telemetryPath }}
 {{- end }}
  - targetPort: {{ .Values.monitoring.nativeMetricsPort }}
 {{- if .Values.monitoring.interval }}
    interval: {{ .Values.monitoring.interval }}
 {{- end }}
    path: /metrics/
  jobLabel: {{ template "rucio.fullname" . }}-prometheus-exporter-auth
  namespaceSelector:
    matchNames:
+9 −0
Original line number Diff line number Diff line
@@ -162,6 +162,11 @@ spec:
            - name: https
              containerPort: 443
              protocol: TCP
{{- if .Values.monitoring.enabled }}
            - name: metrics
              containerPort: {{ .Values.monitoring.nativeMetricsPort }}
              protocol: TCP
{{- end }}
          livenessProbe:
            httpGet:
              path: /ping
@@ -205,6 +210,10 @@ spec:
{{- else }}
            - name: RUCIO_ENABLE_SSL
              value: "False"
{{- end }}
{{- if .Values.monitoring.enabled }}
            - name: RUCIO_METRICS_PORT
              value: "{{ .Values.monitoring.nativeMetricsPort }}"
{{- end }}
            - name: RUCIO_SERVER_TYPE
              value: "{{ .Values.serverType.server }}"
+5 −0
Original line number Diff line number Diff line
@@ -20,6 +20,11 @@ spec:
 {{- if .Values.monitoring.telemetryPath }}
    path: {{ .Values.monitoring.telemetryPath }}
 {{- end }}
  - targetPort: {{ .Values.monitoring.nativeMetricsPort }}
 {{- if .Values.monitoring.interval }}
    interval: {{ .Values.monitoring.interval }}
 {{- end }}
    path: /metrics/
  jobLabel: {{ template "rucio.fullname" . }}-prometheus-exporter
  namespaceSelector:
    matchNames:
Loading