Skip to content

Commit 70b40c6

Browse files
authored
chore: update grafana dashboards (#2940)
1 parent ea4dadf commit 70b40c6

File tree

8 files changed

+3748
-1515
lines changed

8 files changed

+3748
-1515
lines changed

development/envoy.yaml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
---
2+
static_resources:
3+
listeners:
4+
- name: "grpc_listener"
5+
address:
6+
socket_address:
7+
address: "0.0.0.0"
8+
port_value: 50051
9+
filter_chains:
10+
- filters:
11+
- name: "envoy.filters.network.http_connection_manager"
12+
typed_config:
13+
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager"
14+
codec_type: "HTTP2"
15+
stat_prefix: "grpc_ingress"
16+
http_filters:
17+
- name: "envoy.filters.http.router"
18+
typed_config:
19+
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router"
20+
route_config:
21+
name: "grpc_route"
22+
virtual_hosts:
23+
- name: "grpc_backend"
24+
domains: ["*"]
25+
routes:
26+
- match:
27+
prefix: "/"
28+
route:
29+
cluster: "spicedb_grpc"
30+
31+
- name: "http_listener"
32+
address:
33+
socket_address:
34+
address: "0.0.0.0"
35+
port_value: "8443"
36+
filter_chains:
37+
- filters:
38+
- name: "envoy.filters.network.http_connection_manager"
39+
typed_config:
40+
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager"
41+
codec_type: "HTTP1"
42+
stat_prefix: "http_ingress"
43+
http_filters:
44+
- name: "envoy.filters.http.router"
45+
typed_config:
46+
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router"
47+
route_config:
48+
name: "http_route"
49+
virtual_hosts:
50+
- name: "http_backend"
51+
domains: ["*"]
52+
routes:
53+
- match:
54+
prefix: "/"
55+
route:
56+
cluster: "spicedb_http"
57+
58+
clusters:
59+
- name: "spicedb_grpc"
60+
type: "STRICT_DNS"
61+
lb_policy: "ROUND_ROBIN"
62+
# Force HTTP/2 on the upstream so Envoy load-balances individual RPCs,
63+
# not connections (unlike nginx which balances at the connection level).
64+
typed_extension_protocol_options:
65+
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
66+
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions"
67+
explicit_http_config:
68+
http2_protocol_options: {}
69+
load_assignment:
70+
cluster_name: "spicedb_grpc"
71+
endpoints:
72+
- lb_endpoints:
73+
- endpoint:
74+
address:
75+
socket_address:
76+
address: "spicedb-1"
77+
port_value: 50051
78+
- endpoint:
79+
address:
80+
socket_address:
81+
address: "spicedb-2"
82+
port_value: 50051
83+
84+
- name: "spicedb_http"
85+
type: "STRICT_DNS"
86+
lb_policy: "ROUND_ROBIN"
87+
load_assignment:
88+
cluster_name: "spicedb_http"
89+
endpoints:
90+
- lb_endpoints:
91+
- endpoint:
92+
address:
93+
socket_address:
94+
address: "spicedb-1"
95+
port_value: 8443
96+
- endpoint:
97+
address:
98+
socket_address:
99+
address: "spicedb-2"
100+
port_value: 8443

0 commit comments

Comments
 (0)