File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
ZuulGateway/src/main/resources
helm/mse-simple-demo/templates Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ spring.thymeleaf.suffix=.html
22
22
spring.thymeleaf.cache =false
23
23
24
24
management.endpoints.web.exposure.include =prometheus
25
- management.metrics.tags.application =spring-cloud-a
25
+ management.metrics.tags.application =spring-cloud-zuul
Original file line number Diff line number Diff line change 33
33
selector :
34
34
matchLabels :
35
35
app : spring-cloud-gateway
36
+ ---
37
+ apiVersion : monitoring.coreos.com/v1
38
+ kind : PodMonitor
39
+ metadata :
40
+ name : spring-cloud-zuul
41
+ namespace : {{ .Release.Namespace }}
42
+ spec :
43
+ podMetricsEndpoints :
44
+ - interval : 30s
45
+ port : http-port
46
+ path : /actuator/prometheus
47
+ namespaceSelector :
48
+ matchNames :
49
+ - {{ .Release.Namespace }}
50
+ selector :
51
+ matchLabels :
52
+ app : spring-cloud-zuul
36
53
{{ end }}
You can’t perform that action at this time.
0 commit comments