Skip to content

Commit d96e6a5

Browse files
committed
feat: collect metrics from nginx in proxy pod
1 parent 367293d commit d96e6a5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

components/konflux-ui/staging/base/proxy/nginx.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ http {
4545
try_files $uri /index.html;
4646
}
4747

48+
location /nginx_status {
49+
stub_status;
50+
allow 127.0.0.1;
51+
deny all;
52+
}
53+
4854
location = /404.html {
4955
}
5056

components/konflux-ui/staging/base/proxy/proxy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ spec:
117117
- containerPort: 8080
118118
name: web
119119
protocol: TCP
120+
- containerPort: 8888
121+
name: web-metrics
122+
protocol: TCP
120123
- containerPort: 9443
121124
name: web-tls
122125
protocol: TCP

0 commit comments

Comments
 (0)