open-consul/agent/xds
Chris S. Kim c752c5bff2
Update envoy metrics label extraction for peered clusters and listeners (#13818)
Now that peered upstreams can generate envoy resources (#13758), we need a way to disambiguate local from peered resources in our metrics. The key difference is that datacenter and partition will be replaced with peer, since in the context of peered resources partition is ambiguous (could refer to the partition in a remote cluster or one that exists locally). The partition and datacenter of the proxy will always be that of the source service.

Regexes were updated to make emitting datacenter and partition labels mutually exclusive with peer labels.

Listener filter names were updated to better match the existing regex.

Cluster names assigned to peered upstreams were updated to be synthesized from local peer name (it previously used the externally provided primary SNI, which contained the peer name from the other side of the peering). Integration tests were updated to assert for the new peer labels.
2022-07-25 13:49:00 -04:00
..
proxysupport connect: Add support for Envoy 1.23, remove 1.19 (#13807) 2022-07-19 14:51:04 -07:00
serverlessplugin Fix spelling mistake in serverless patcher (#13607) 2022-06-29 15:21:21 -04:00
testdata Update envoy metrics label extraction for peered clusters and listeners (#13818) 2022-07-25 13:49:00 -04:00
xdscommon
clusters.go Update envoy metrics label extraction for peered clusters and listeners (#13818) 2022-07-25 13:49:00 -04:00
clusters_test.go Make envoy resources for inferred peered upstreams (#13758) 2022-07-19 14:56:28 -04:00
config.go
config_test.go
delta.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
delta_test.go
endpoints.go Update envoy metrics label extraction for peered clusters and listeners (#13818) 2022-07-25 13:49:00 -04:00
endpoints_test.go xds: begin refactor to always pass test snapshots through all xDS types (#13461) 2022-06-15 14:58:28 -05:00
envoy_versioning.go connect: Add support for Envoy 1.23, remove 1.19 (#13807) 2022-07-19 14:51:04 -07:00
envoy_versioning_test.go connect: Add support for Envoy 1.23, remove 1.19 (#13807) 2022-07-19 14:51:04 -07:00
failover_math.go
failover_math_test.go
golden_test.go
listeners.go Update envoy metrics label extraction for peered clusters and listeners (#13818) 2022-07-25 13:49:00 -04:00
listeners_ingress.go
listeners_test.go Make envoy resources for inferred peered upstreams (#13758) 2022-07-19 14:56:28 -04:00
naming.go
net_fallback.go
net_linux.go
protocol_trace.go
rbac.go feat: connect proxy xDS for destinations 2022-07-14 15:27:02 -04:00
rbac_test.go xds: modify rbac rules to use the XFCC header for peered L7 enforcement (#13629) 2022-06-29 10:29:54 -05:00
resources.go
resources_oss_test.go xds: begin refactor to always pass test snapshots through all xDS types (#13461) 2022-06-15 14:58:28 -05:00
resources_test.go Make envoy resources for inferred peered upstreams (#13758) 2022-07-19 14:56:28 -04:00
response.go
routes.go feat: convert destination address to slice 2022-07-25 12:31:58 -04:00
routes_test.go xds: begin refactor to always pass test snapshots through all xDS types (#13461) 2022-06-15 14:58:28 -05:00
server.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
server_oss.go
serverless_plugin_oss_test.go Fix spelling mistake in serverless patcher (#13607) 2022-06-29 15:21:21 -04:00
testing.go
xds.go
xds_protocol_helpers_test.go
z_xds_packages.go
z_xds_packages_test.go