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
2222spring.thymeleaf.cache =false
2323
2424management.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 3333 selector :
3434 matchLabels :
3535 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
3653{{ end }}
You can’t perform that action at this time.
0 commit comments