Skip to content

Commit

Permalink
Merge pull request #182 from bjwhite-fnal/master
Browse files Browse the repository at this point in the history
Servers: Enable ServiceMonitor independently of Prometheus.
  • Loading branch information
ericvaandering authored Mar 11, 2024
2 parents d0dae21 + dd0acee commit e0b82c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/rucio-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rucio-server
version: 33.0.2
version: 33.0.3
apiVersion: v1
description: A Helm chart to deploy servers for Rucio
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/rucio-server/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if gt .Values.replicaCount 0.0 -}}
{{- if .Values.monitoring.enabled }}
{{- if and .Values.monitoring.enabled .Values.monitoring.serviceMonitorEnabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
Expand Down
2 changes: 2 additions & 0 deletions charts/rucio-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ logFormat: '[%{%Y-%m-%d %H:%M:%S}t]\t%v\t%h\t%{X-Forwarded-For}i\t%{X-Rucio-Requ

monitoring:
enabled: false
# default to true to preserve chart behavior
serviceMonitorEnabled: true
exporterPort: 8080
targetPort: 8080
nativeMetricsPort: 8081
Expand Down

0 comments on commit e0b82c6

Please sign in to comment.