File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ component: matrix-authentication
3434Workers annotations 
3535*/}  }
3636{ {- define " synapse-workers.annotations"   -}  }
37- scrapeMetrics9092: "true"
3837prometheus.io/port: "9092"
3938prometheus.io/scrape: "true"
4039prometheus.io/path: "/_synapse/metrics"
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ kind: Deployment
66metadata :
77  name : synapse-{{ $name }} 
88  labels :
9+     {{- if $.Values.podMonitor.enabled  }} 
10+     scrapeMetrics9092 : ' true' 
11+     {{- end }} 
912    {{- include "synapse-workers.selectorLabels" $name | nindent 4 }} 
1013spec :
1114  {{- if not $options.autoscaling.enabled }} 
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ kind: StatefulSet
77metadata :
88  name : synapse-{{ $name }} 
99  labels :
10+     {{- if $.Values.podMonitor.enabled  }} 
11+     scrapeMetrics9092 : ' true' 
12+     {{- end }} 
1013    {{- include "synapse-workers.selectorLabels" $name | nindent 4 }} 
1114spec :
1215  replicas : {{ $options.replicas }} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments