Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for newGauge (0.15 sec)

  1. operator/pkg/metrics/monitoring.go

    	K8SManifestPatchError RenderErrorType = "k8s_manifest_patch"
    )
    
    var (
    	// Version is the version of the operator binary running currently.
    	Version = monitoring.NewGauge(
    		"version",
    		"Version of operator binary",
    	)
    
    	ReconcileRequestTotal = monitoring.NewSum(
    		"reconcile_request_total",
    		"Number of times requesting Reconcile",
    	)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/metrics/metrics.go

    	// StartupTime measures the time it takes for the agent to get ready Note: This
    	// is dependent on readiness probes. This means our granularity is correlated to
    	// the probing interval.
    	startupTime = monitoring.NewGauge(
    		"startup_duration_seconds",
    		"The time from the process starting to being marked ready.",
    	)
    
    	// scrapeErrors records total number of failed scrapes.
    	scrapeErrors = monitoring.NewSum(
    		"scrape_failures_total",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. pkg/queue/metrics.go

    )
    
    var (
    	queueIDTag   = monitoring.CreateLabel("queueID")
    	enableMetric = monitoring.WithEnabled(func() bool {
    		return features.EnableControllerQueueMetrics
    	})
    	depth = monitoring.NewGauge("pilot_worker_queue_depth", "Depth of the controller queues", enableMetric)
    
    	latency = monitoring.NewDistribution("pilot_worker_queue_latency",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 21 16:30:36 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. pkg/wasm/monitoring.go

    	missRemoteFetchHint = "miss_remote_fetch_hint"
    )
    
    var (
    	hitTag    = monitoring.CreateLabel("hit")
    	resultTag = monitoring.CreateLabel("result")
    
    	wasmCacheEntries = monitoring.NewGauge(
    		"wasm_cache_entries",
    		"number of Wasm remote fetch cache entries.",
    	)
    
    	wasmCacheLookupCount = monitoring.NewSum(
    		"wasm_cache_lookup_count",
    		"number of Wasm remote fetch cache lookups.",
    	)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/envoyfilter/monitoring.go

    	VirtualHost PatchType = "vhost"
    )
    
    var (
    	patchType  = monitoring.CreateLabel("patch")
    	resultType = monitoring.CreateLabel("result")
    	nameType   = monitoring.CreateLabel("name")
    
    	envoyFilterStatus = monitoring.NewGauge(
    		"pilot_envoy_filter_status",
    		"Status of Envoy filters whether it was applied or errored.",
    		monitoring.WithEnabled(func() bool {
    			return features.EnableEnvoyFilterMetrics
    		}),
    	)
    )
    
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pkg/monitoring/gauge.go

    	attributeSetsMutex *sync.RWMutex
    	attributeSets      map[attribute.Set]*gaugeValues
    	currentGaugeSet    *gaugeValues
    }
    
    var _ Metric = &gauge{}
    
    func newGauge(o options) *gauge {
    	r := &gauge{
    		attributeSetsMutex: &sync.RWMutex{},
    	}
    	r.attributeSets = map[attribute.Set]*gaugeValues{}
    	g, err := meter().Float64ObservableGauge(o.name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/monitoring.go

    		"Current istiod server uptime in seconds",
    	).ValueFrom(func() float64 {
    		return time.Since(serverStart).Seconds()
    	})
    
    	versionTag   = monitoring.CreateLabel("version")
    	pilotVersion = monitoring.NewGauge(
    		"pilot_info",
    		"Pilot version and build information.",
    	)
    )
    
    func init() {
    	pilotVersion.With(versionTag.Value(version.Info.String())).Record(1)
    }
    
    func addMonitor(mux *http.ServeMux) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. pkg/monitoring/monitoring_test.go

    		"test_buckets",
    		"Testing distribution functionality",
    		[]float64{0, 2.5, 7, 8, 10, 99, 154.3},
    		monitoring.WithUnit(monitoring.Seconds),
    	)
    
    	testGauge = monitoring.NewGauge(
    		"test_gauge",
    		"Testing gauge functionality",
    	)
    
    	testDisabledSum = monitoring.NewSum(
    		"events_disabled_total",
    		"Number of events observed, by name and kind",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. pilot/pkg/model/typed_xds_cache.go

    		"xds_cache_evictions",
    		"Total number of xds cache evictions.",
    		monitoring.WithEnabled(enableStats),
    	)
    
    	xdsCacheSize = monitoring.NewGauge(
    		"xds_cache_size",
    		"Current size of xds cache",
    		monitoring.WithEnabled(enableStats),
    	)
    
    	dependentConfigSize = monitoring.NewGauge(
    		"xds_cache_dependent_config_size",
    		"Current size of dependent configs",
    		monitoring.WithEnabled(enableStats),
    	)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. pilot/pkg/model/push_context.go

    	ProxyStatusNoService = monitoring.NewGauge(
    		"pilot_no_ip",
    		"Pods not found in the endpoint table, possibly invalid.",
    	)
    
    	// ProxyStatusEndpointNotReady represents proxies found not be ready.
    	// Updated by GetProxyServiceTargets. Normal condition when starting
    	// an app with readiness, error if it doesn't change to 0.
    	ProxyStatusEndpointNotReady = monitoring.NewGauge(
    		"pilot_endpoint_not_ready",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top