Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for metric (2.51 sec)

  1. cmd/metrics-v3-handler.go

    			for _, d := range mg.Descriptors {
    				labels := slices.Clone(d.VariableLabels)
    				labels = append(labels, commonLabels...)
    				metric := metricDisplay{
    					Name:   mg.MetricFQN(d.Name),
    					Help:   d.Help,
    					Type:   d.Type.String(),
    					Labels: labels,
    				}
    				metrics = append(metrics, metric)
    			}
    		}
    	}
    
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cache.go

    package cmd
    
    import (
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/cachevalue"
    )
    
    // metricsCache - cache for metrics.
    //
    // When serving metrics, this cache is passed to the MetricsLoaderFn.
    //
    // This cache is used for metrics that would result in network/storage calls.
    type metricsCache struct {
    	dataUsageInfo       *cachevalue.Cache[DataUsageInfo]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-cpu.go

    	cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    	m.Set(sysCPUNice, cpuNiceVal)
    	cpuStealVal := math.Round(ts.Steal/tot*100*100) / 100
    	m.Set(sysCPUSteal, cpuStealVal)
    
    	// metrics-resource.go runs a job to collect resource metrics including their Avg values and
    	// stores them in resourceMetricsMap. We can use it to get the Avg values of CPU idle and IOWait.
    	cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem]
    	if found {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. cmd/metrics-v3-system-drive.go

    func (m *MetricValues) setDriveAPIMetrics(disk madmin.Disk, labels []string) {
    	if disk.Metrics == nil {
    		return
    	}
    
    	m.Set(driveTimeoutErrorsTotal, float64(disk.Metrics.TotalErrorsTimeout), labels...)
    	m.Set(driveIOErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability-disk.Metrics.TotalErrorsTimeout), labels...)
    	m.Set(driveAvailabilityErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability), labels...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. cmd/metrics-v3-cluster-iam.go

    )
    
    // loadClusterIAMMetrics - `MetricsLoaderFn` for cluster IAM metrics.
    func loadClusterIAMMetrics(_ context.Context, m MetricValues, _ *metricsCache) error {
    	m.Set(lastSyncDurationMillis, float64(atomic.LoadUint64(&globalIAMSys.LastRefreshDurationMilliseconds)))
    	pluginAuthNMetrics := globalAuthNPlugin.Metrics()
    	m.Set(pluginAuthnServiceFailedRequestsMinute, float64(pluginAuthNMetrics.FailedRequests))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 08:20:42 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. cmd/metrics-v3-cluster-notification.go

    )
    
    // loadClusterNotificationMetrics - `MetricsLoaderFn` for cluster notification metrics.
    func loadClusterNotificationMetrics(_ context.Context, m MetricValues, _ *metricsCache) error {
    	if globalEventNotifier == nil {
    		return nil
    	}
    
    	nstats := globalEventNotifier.targetList.Stats()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:10:35 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. cmd/metrics-v3-system-process.go

    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else if openFDs > 0 {
    		m.Set(processFileDescriptorOpenTotal, float64(openFDs))
    	}
    }
    
    // loadProcessMetrics - `MetricsLoaderFn` for process metrics
    func loadProcessMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	m.Set(processGoRoutineTotal, float64(runtime.NumGoroutine()))
    
    	if !globalBootTime.IsZero() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/templates/validatingadmissionpolicy.yaml

        - expression: |
            !(
              variables.isTelemetry && (
                (has(object.spec.tracing) ? object.spec.tracing : {}).exists(t, has(t.useRequestIdForTraceSampling)) ||
                (has(object.spec.metrics) ? object.spec.metrics : {}).exists(m, has(m.reportingInterval)) ||
                (has(object.spec.accessLogging) ? object.spec.accessLogging : {}).exists(l, has(l.filter))
              )
            )
    ---
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 29 21:07:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. manifests/charts/base/templates/validatingadmissionpolicy.yaml

        - expression: |
            !(
              variables.isTelemetry && (
                (has(object.spec.tracing) ? object.spec.tracing : {}).exists(t, has(t.useRequestIdForTraceSampling)) ||
                (has(object.spec.metrics) ? object.spec.metrics : {}).exists(m, has(m.reportingInterval)) ||
                (has(object.spec.accessLogging) ? object.spec.accessLogging : {}).exists(l, has(l.filter))
              )
            )
    ---
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 29 21:07:45 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. .github/workflows/contributor-pr.yml

            with:
              name: build-receipt.properties
              path: platforms/core-runtime/base-services/build/generated-resources/build-receipt/org/gradle/build-receipt.properties
        outputs:
          matrix: ${{ steps.setup-matrix.outputs.matrix }}
          sys-prop-args: ${{ steps.determine-sys-prop-args.outputs.sys-prop-args }}
    
      sanity-check:
        name: "Sanity Check on Linux"
        permissions:
          contents: read
        runs-on: ubuntu-latest
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top