Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 538 for stats (0.16 sec)

  1. cmd/metrics-v3-system-process.go

    )
    
    func loadProcStatMetrics(ctx context.Context, stat procfs.ProcStat, m MetricValues) {
    	if stat.CPUTime() > 0 {
    		m.Set(processCPUTotalSeconds, float64(stat.CPUTime()))
    	}
    
    	if stat.ResidentMemory() > 0 {
    		m.Set(processResidentMemoryBytes, float64(stat.ResidentMemory()))
    	}
    
    	if stat.VirtualMemory() > 0 {
    		m.Set(processVirtualMemoryBytes, float64(stat.VirtualMemory()))
    	}
    
    	startTime, err := stat.StartTime()
    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)
  2. manifests/charts/ztunnel/templates/daemonset.yaml

    {{- else }}
            image: "{{ .Values.hub }}/{{ .Values.image | default "ztunnel" }}:{{ .Values.tag }}{{with (.Values.variant )}}-{{.}}{{end}}"
    {{- end }}
            ports:
            - containerPort: 15020
              name: ztunnel-stats
              protocol: TCP
            resources:
    {{- if .Values.resources }}
    {{ toYaml .Values.resources | trim | indent 10 }}
    {{- end }}
    {{- with .Values.imagePullPolicy }}
            imagePullPolicy: {{ . }}
    {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. manifests/charts/gateways/istio-ingress/templates/injected-deployment.yaml

            {{- end }}
          annotations:
            {{- if .Values.meshConfig.enablePrometheusMerge }}
            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
            prometheus.io/path: "/stats/prometheus"
            {{- end }}
            sidecar.istio.io/inject: "true"
            inject.istio.io/templates: "{{ $gateway.injectionTemplate }}"
    {{- if $gateway.podAnnotations }}
    {{ toYaml $gateway.podAnnotations | indent 8 }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. manifests/charts/gateways/istio-egress/templates/injected-deployment.yaml

            {{- end }}
          annotations:
            {{- if .Values.meshConfig.enablePrometheusMerge }}
            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
            prometheus.io/path: "/stats/prometheus"
            {{- end }}
            sidecar.istio.io/inject: "true"
            inject.istio.io/templates: "{{ $gateway.injectionTemplate }}"
    {{- if $gateway.podAnnotations }}
    {{ toYaml $gateway.podAnnotations | indent 8 }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. cmd/metrics-realtime.go

    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuTimes)", byHostName, err.Error()))
    		} else {
    			// not collecting per-cpu stats, so there will be only one element
    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    				m.Errors = append(m.Errors, fmt.Sprintf("%s: Expected one CPU stat, got %d", byHostName, len(cm)))
    			}
    		}
    		cpuCount, err := c.Counts(true)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. tests/prepared_stmt_test.go

    		}()
    	}
    	wg.Wait()
    
    	conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB)
    	AssertEqual(t, ok, true)
    	AssertEqual(t, len(conn.Stmts), 2)
    	for _, stmt := range conn.Stmts {
    		if stmt == nil {
    			t.Fatalf("stmt cannot bee nil")
    		}
    	}
    
    	AssertEqual(t, sqlDB.Stats().InUse, 0)
    }
    
    func TestPreparedStmtInTransaction(t *testing.T) {
    	user := User{Name: "jinzhu"}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 07:55:43 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. internal/logger/target/testlogger/testlogger.go

    	tb := t.current.Load()
    	if tb != nil {
    		tbb := *tb
    		return tbb.Name()
    	}
    	return ""
    }
    
    func (t *testLogger) Endpoint() string {
    	return ""
    }
    
    func (t *testLogger) Stats() types.TargetStats {
    	return types.TargetStats{}
    }
    
    func (t *testLogger) Init(ctx context.Context) error {
    	return nil
    }
    
    func (t *testLogger) IsOnline(ctx context.Context) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. cni/pkg/repair/netns.go

    			continue
    		}
    
    		if id != wantID {
    			// Not the network we want, skip
    			continue
    		}
    		s, err := p.Stat()
    		if err != nil {
    			// Unexpected... we will use it, but only if we find nothing without errors
    			log.Warnf("failed to read proc %v stats: %v", p.PID, err)
    			if best == "" {
    				best = ns
    			}
    			continue
    		}
    		// Get the oldest one.
    		if s.Starttime < oldest {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. cmd/http-tracer.go

    func httpTracerMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// Setup a http request response recorder - this is needed for
    		// http stats requests and audit if enabled.
    		respRecorder := xhttp.NewResponseRecorder(w)
    
    		// Setup a http request body recorder
    		reqRecorder := &xhttp.RequestRecorder{Reader: r.Body}
    		r.Body = reqRecorder
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. cmd/site-replication-utils.go

    		switch bktStatus {
    		case ResyncCompleted:
    			st.BucketStatuses[o.bucket] = ResyncCompleted
    			st.Status = siteResyncStatus(st.Status, st.BucketStatuses)
    			st.LastUpdate = UTCNow()
    			sm.resyncStatus[o.resyncID] = st
    		case ResyncFailed:
    			st.BucketStatuses[o.bucket] = ResyncFailed
    			st.Status = siteResyncStatus(st.Status, st.BucketStatuses)
    			st.LastUpdate = UTCNow()
    			sm.resyncStatus[o.resyncID] = st
    		}
    	}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.9K bytes
    - Viewed (1)
Back to top