- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for addMetric (0.14 sec)
-
pilot/pkg/model/destination_rule.go
if !existingSubset.Contains(subset.Name) { // if not duplicated, append mergedRule.Subsets = append(mergedRule.Subsets, subset) } else { // duplicate subset ps.AddMetric(DuplicatedSubsets, string(resolvedHost), "", fmt.Sprintf("Duplicate subset %s found while merging destination rules for %s", subset.Name, string(resolvedHost))) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 07:22:29 UTC 2024 - 6.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpointslice.go
if ip != instance.Address { continue } // If the endpoint isn't ready, report this if instance.HealthStatus == model.UnHealthy && esc.c.opts.Metrics != nil { esc.c.opts.Metrics.AddMetric(model.ProxyStatusEndpointNotReady, proxy.ID, proxy.ID, "") } si := model.ServiceTarget{ Service: svc, Port: model.ServiceInstancePort{ ServicePort: port,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 16.9K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder.go
fallthrough case cluster.Cluster_STATIC: if len(localityLbEndpoints) == 0 { log.Debugf("locality endpoints missing for cluster %s", c.Name) cb.req.Push.AddMetric(model.DNSNoEndpointClusters, c.Name, cb.proxyID, fmt.Sprintf("%s cluster without endpoints %s found while pushing CDS", discoveryType.String(), c.Name)) return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 31.6K bytes - Viewed (0) -
pilot/pkg/networking/core/httproute.go
var msg string if svc == nil { msg = fmt.Sprintf("duplicate domain from virtual service: %s", name) } else { msg = fmt.Sprintf("duplicate domain from service: %s", name) } push.AddMetric(model.DuplicatedDomains, name, node.ID, msg) return nil } var domains []string var altHosts []string if svc == nil { if SidecarIgnorePort(node) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 32.7K bytes - Viewed (1) -
pilot/pkg/networking/core/listener.go
listenerName string currentProtocol protocol.Instance newHostname host.Name newProtocol protocol.Instance } func (c outboundListenerConflict) addMetric(metrics model.Metrics) { metrics.AddMetric(c.metric, c.listenerName, c.node.ID, fmt.Sprintf("Listener=%s Accepted=%s Rejected=%s (%s)", c.listenerName, protocolName(c.currentProtocol), protocolName(c.newProtocol),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 55.1K bytes - Viewed (0) -
pilot/pkg/model/context.go
if e != nil && e.NetworksWatcher != nil { e.NetworksWatcher.AddNetworksHandler(h) } } func (e *Environment) AddMetric(metric monitoring.Metric, key string, proxyID, msg string) { if e != nil { e.PushContext().AddMetric(metric, key, proxyID, msg) } } func (e *Environment) Version() string { if x := e.GetLedger(); x != nil { return x.RootHash() } return ""
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 33.6K bytes - Viewed (1) -
pilot/pkg/model/push_context.go
"istio.io/istio/pkg/workloadapi" "istio.io/istio/pkg/xds" ) // Metrics is an interface for capturing metrics on a per-node basis. type Metrics interface { // AddMetric will add an case to the metric for the given node. AddMetric(metric monitoring.Metric, key string, proxyID, msg string) } var _ Metrics = &PushContext{} // serviceIndex is an index of all services by various fields for easy access during push.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
b.service.Hostname, b.port, locality) } locEps = append(locEps, locLbEps) } if len(locEps) == 0 { b.push.AddMetric(model.ProxyStatusClusterNoInstances, b.clusterName, "", "") } // Apply the Split Horizon EDS filter, if applicable. locEps = b.EndpointsByNetworkFilter(locEps) if model.IsDNSSrvSubsetKey(b.clusterName) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_inbound.go
// define TCP and the other HTTP. Report this up to the user. if old.port.Protocol != cc.port.Protocol && old.telemetryMetadata.InstanceHostname != cc.telemetryMetadata.InstanceHostname { lb.push.AddMetric(model.ProxyStatusConflictInboundListener, lb.node.ID, lb.node.ID, fmt.Sprintf("Conflicting inbound listener:%d. existing: %s, incoming: %s", cc.port.TargetPort,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 35.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller.go
log.Warnf("GetProxyServiceTargetsFromMetadata for %v failed: %v", proxy.ID, err) } return out } // TODO: This could not happen, remove? if c.opts.Metrics != nil { c.opts.Metrics.AddMetric(model.ProxyStatusNoService, proxy.ID, proxy.ID, "") } else { log.Infof("Missing metrics env, empty list of services for pod %s", proxy.ID) } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 41.2K bytes - Viewed (0)