File tree Expand file tree Collapse file tree 4 files changed +33
-4
lines changed
charts/prometheus-stackdriver-exporter Expand file tree Collapse file tree 4 files changed +33
-4
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
description : Stackdriver exporter for Prometheus
3
3
name : prometheus-stackdriver-exporter
4
- version : 4.10 .0
4
+ version : 4.11 .0
5
5
appVersion : v0.18.0
6
6
home : https://www.stackdriver.com/
7
7
sources :
Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ spec:
107
107
- --stackdriver.max-retries={{ .Values.stackdriver.maxRetries }}
108
108
- --stackdriver.retry-statuses={{ .Values.stackdriver.retryStatuses }}
109
109
- --web.listen-address={{ .Values.web.listenAddress }}
110
- - --web.telemetry-path={{ .Values.web.path }}
110
+ - --web.telemetry-path={{ .Values.web.telemetryPath }}
111
+ - --web.stackdriver-telemetry-path={{ .Values.web.stackdriverTelemetryPath }}
111
112
{{- if .Values.stackdriver.dropDelegatedProjects }}
112
113
- --monitoring.drop-delegated-projects
113
114
{{- end }}
Original file line number Diff line number Diff line change @@ -12,8 +12,12 @@ metadata:
12
12
{{- toYaml .Values.serviceMonitor.additionalLabels | nindent 4 }}
13
13
{{- end }}
14
14
spec :
15
+ {{- if .Values.serviceMonitor.scrapeClass }}
16
+ scrapeClass : {{ .Values.serviceMonitor.scrapeClass }}
17
+ {{- end }}
15
18
endpoints :
16
19
- port : http
20
+ path : {{ .Values.web.telemetryPath }}
17
21
{{- if .Values.serviceMonitor.interval }}
18
22
interval : {{ .Values.serviceMonitor.interval }}
19
23
{{- end }}
30
34
relabelings :
31
35
{{- toYaml .Values.serviceMonitor.relabelings | nindent 4 }}
32
36
{{- end }}
37
+ {{- if ne .Values.web.telemetryPath .Values.web.stackdriverTelemetryPath }}
38
+ - port : http
39
+ path : {{ .Values.web.stackdriverTelemetryPath }}
40
+ {{- if .Values.serviceMonitor.interval }}
41
+ interval : {{ .Values.serviceMonitor.interval }}
42
+ {{- end }}
43
+ {{- if .Values.serviceMonitor.scrapeTimeout }}
44
+ scrapeTimeout : {{ .Values.serviceMonitor.scrapeTimeout }}
45
+ {{- end }}
46
+ honorLabels : {{ .Values.serviceMonitor.honorLabels }}
47
+ honorTimestamps : {{ .Values.serviceMonitor.honorTimestamps }}
48
+ {{- if .Values.serviceMonitor.metricRelabelings }}
49
+ metricRelabelings :
50
+ {{- toYaml .Values.serviceMonitor.metricRelabelings | nindent 4 }}
51
+ {{- end }}
52
+ {{- if .Values.serviceMonitor.relabelings }}
53
+ relabelings :
54
+ {{- toYaml .Values.serviceMonitor.relabelings | nindent 4 }}
55
+ {{- end }}
56
+ {{- end }}
33
57
selector :
34
58
matchLabels :
35
59
{{- include "stackdriver-exporter.selectorLabels" . | indent 6 }}
Original file line number Diff line number Diff line change @@ -118,8 +118,10 @@ stackdriver:
118
118
web :
119
119
# Port to listen on
120
120
listenAddress : ' :9255'
121
- # Path under which to expose metrics.
122
- path : /metrics
121
+ # Path under which to expose Stackdriver metrics.
122
+ stackdriverTelemetryPath : /metrics
123
+ # Path under which to expose Prometheus metrics
124
+ telemetryPath : /metrics
123
125
124
126
# # Pod affinity
125
127
# #
@@ -184,6 +186,8 @@ serviceAccount:
184
186
serviceMonitor :
185
187
enabled : false
186
188
namespace : monitoring
189
+ # scrapeClass
190
+ scrapeClass :
187
191
# additionalLabels is the set of additional labels to add to the ServiceMonitor
188
192
additionalLabels : {}
189
193
# How long until a scrape request times out.
You can’t perform that action at this time.
0 commit comments