Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for requests_total (0.18 sec)

  1. pkg/monitoring/example_sum_test.go

    // limitations under the License.
    
    package monitoring_test
    
    import "istio.io/istio/pkg/monitoring"
    
    var (
    	protocol = monitoring.CreateLabel("protocol")
    
    	requests = monitoring.NewSum(
    		"requests_total",
    		"Number of requests handled, by protocol",
    	)
    )
    
    func ExampleNewSum() {
    	// increment on every http request
    	requests.With(protocol.Value("http")).Increment()
    
    	// count gRPC requests double
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1005 bytes
    - Viewed (0)
  2. pilot/pkg/model/telemetry_test.go

    						Value: true,
    					},
    				}},
    
    				Providers: []*tpb.ProviderRef{{Name: "prometheus"}},
    			},
    		},
    	}
    	cfg := `{"metrics":[{"dimensions":{"add":"bar"},"name":"requests_total","tags_to_remove":["remove"]}]}`
    
    	tests := []struct {
    		name             string
    		cfgs             []config.Config
    		proxy            *Proxy
    		class            networking.ListenerClass
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. pilot/pkg/model/telemetry.go

    				}
    			}
    		default:
    			// Only prometheus and SD supported currently
    			continue
    		}
    	}
    	return res
    }
    
    var metricToPrometheusMetric = map[string]string{
    	"REQUEST_COUNT":          "requests_total",
    	"REQUEST_DURATION":       "request_duration_milliseconds",
    	"REQUEST_SIZE":           "request_bytes",
    	"RESPONSE_SIZE":          "response_bytes",
    	"TCP_OPENED_CONNECTIONS": "tcp_connections_opened_total",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/metrics/utilization.go

    	metricsTotal := int64(0)
    	requestsTotal := int64(0)
    	numEntries := 0
    
    	for podName, metric := range metrics {
    		request, hasRequest := requests[podName]
    		if !hasRequest {
    			// we check for missing requests elsewhere, so assuming missing requests == extraneous metrics
    			continue
    		}
    
    		metricsTotal += metric.Value
    		requestsTotal += request
    		numEntries++
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 22 08:59:02 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory/metrics.go

    )
    
    var registerMetrics sync.Once
    
    // RegisterMetrics registers authorizer metrics.
    func RegisterMetrics() {
    	registerMetrics.Do(func() {
    		legacyregistry.MustRegister(requestTotal)
    		legacyregistry.MustRegister(requestLatency)
    	})
    }
    
    var (
    	requestTotal = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Name:           "apiserver_delegated_authz_request_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go

    	// the upstream library supports it.
    	requestCounter = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Subsystem:      APIServerComponent,
    			Name:           "request_total",
    			Help:           "Counter of apiserver requests broken out for each verb, dry run value, group, version, resource, scope, component, and HTTP response code.",
    			StabilityLevel: compbasemetrics.STABLE,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 35K bytes
    - Viewed (0)
Back to top