- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for StatPrefix (0.2 sec)
-
pilot/pkg/networking/core/envoyfilter/listener_patch_test.go
{ Filters: []*listener.Filter{ { Name: "envoy.redis_proxy", ConfigType: &listener.Filter_TypedConfig{ TypedConfig: protoconv.MessageToAny(&redis.RedisProxy{ StatPrefix: "redis_stats", PrefixRoutes: &redis.RedisProxy_PrefixRoutes{ CatchAllRoute: &redis.RedisProxy_PrefixRoutes_Route{ Cluster: "custom-redis-cluster", }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 70.1K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
f := fc.Filters[0] expectedStatPrefix := util.PassthroughCluster cfg, _ := conversion.MessageToStruct(f.GetTypedConfig()) statPrefix := cfg.Fields["stat_prefix"].GetStringValue() if statPrefix != expectedStatPrefix { t.Fatalf("expected listener to contain stat_prefix %s, found %s", expectedStatPrefix, statPrefix) } } func verifyOutboundTCPListenerHostname(t *testing.T, l *listener.Listener, hostname host.Name) { t.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
Match: TranslateRouteMatch(virtualService, match, node.SupportsEnvoyExtendedJwt()), Metadata: util.BuildConfigInfoMetadata(virtualService.Meta), } if match != nil && match.StatPrefix != "" { out.StatPrefix = match.StatPrefix } authority := "" if in.Headers != nil { operations := TranslateHeadersOperations(in.Headers) out.RequestHeadersToAdd = operations.RequestHeadersToAdd
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_test.go
g.Expect(routes[0].GetMatch().GetPrefix()).To(Equal("/foo")) g.Expect(routes[0].StatPrefix).To(Equal("foo")) g.Expect(routes[1].GetMatch().GetPrefix()).To(Equal("/baz")) g.Expect(routes[1].StatPrefix).To(Equal("")) g.Expect(routes[2].GetMatch().GetPrefix()).To(Equal("/bar")) g.Expect(routes[2].StatPrefix).To(Equal("")) g.Expect(len(routes[0].GetRoute().GetRetryPolicy().RetryHostPredicate)).To(Equal(1)) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
pilot/pkg/networking/core/listener.go
} if opt.httpOpts == nil { // we are building a network filter chain (no http connection manager) for this filter chain chain.Filters = opt.networkFilters } else { opt.httpOpts.statPrefix = strings.ToLower(l.TrafficDirection.String()) + "_" + l.Name opt.httpOpts.port = le.servicePort.Port hcm := builder.buildHTTPConnectionManager(opt.httpOpts) filter := &listener.Filter{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 55.1K bytes - Viewed (0)