consul/command/connect/envoy
Chris S. Kim 8ed49ea4d0
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
..
pipe-bootstrap envoy: improve comments 2021-06-01 11:35:32 -04:00
testdata Update envoy metrics label extraction for peered clusters and listeners (#13818) 2022-07-25 13:49:00 -04:00
bootstrap_config.go Update envoy metrics label extraction for peered clusters and listeners (#13818) 2022-07-25 13:49:00 -04:00
bootstrap_config_test.go Update envoy metrics label extraction for peered clusters and listeners (#13818) 2022-07-25 13:49:00 -04:00
bootstrap_tpl.go xds: modify rbac rules to use the XFCC header for peered L7 enforcement (#13629) 2022-06-29 10:29:54 -05:00
envoy.go command: Add TLS support for envoy prometheus endpoint 2022-06-16 17:53:05 -07:00
envoy_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
envoy_test.go command: Add TLS support for envoy prometheus endpoint 2022-06-16 17:53:05 -07:00
exec_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
exec_unix.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
exec_unsupported.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
flags.go connect: switch the default gateway port from 443 to 8443 (#9116) 2020-11-06 20:47:29 -05:00
flags_test.go connect: switch the default gateway port from 443 to 8443 (#9116) 2020-11-06 20:47:29 -05:00