Skip to content

Commit 5acc6f7

Browse files
authored
fix prometheus stats (#1031)
1 parent 2db0b60 commit 5acc6f7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
diff -Naur istio/tools/packaging/common/envoy_bootstrap.json istio-new/tools/packaging/common/envoy_bootstrap.json
2+
--- istio/tools/packaging/common/envoy_bootstrap.json 2024-06-07 16:50:21.000000000 +0800
3+
+++ istio-new/tools/packaging/common/envoy_bootstrap.json 2024-06-07 16:47:42.000000000 +0800
4+
@@ -38,7 +38,7 @@
5+
"stats_tags": [
6+
{
7+
"tag_name": "cluster_name",
8+
- "regex": "^cluster\\.((.+?(\\..+?\\.svc\\.cluster\\.local)?)\\.)"
9+
+ "regex": "^cluster\\.((.*?)\\.)(http1\\.|http2\\.|health_check\\.|zone\\.|external\\.|circuit_breakers\\.|[^\\.]+$)"
10+
},
11+
{
12+
"tag_name": "tcp_prefix",
13+
@@ -58,7 +58,7 @@
14+
},
15+
{
16+
"tag_name": "http_conn_manager_prefix",
17+
- "regex": "^http\\.(((?:[_.[:digit:]]*|[_\\[\\]aAbBcCdDeEfF[:digit:]]*))\\.)"
18+
+ "regex": "^http\\.(((outbound_([0-9]{1,3}\\.{0,1}){4}_\\d{0,5})|([^\\.]+))\\.)"
19+
},
20+
{
21+
"tag_name": "listener_address",

0 commit comments

Comments
 (0)