Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewDerivedGauge (0.61 sec)

  1. security/pkg/server/ca/monitoring.go

    		"citadel_server_root_cert_expiry_timestamp",
    		"The unix timestamp, in seconds, when Citadel root cert will expire. "+
    			"A negative time indicates the cert is expired.",
    	)
    	rootCertExpirySeconds = monitoring.NewDerivedGauge(
    		"citadel_server_root_cert_expiry_seconds",
    		"The time remaining, in seconds, before the root certificate will expire. "+
    			"A negative value indicates the cert is expired.",
    	)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:09 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/monitoring.go

    )
    
    type monitor struct {
    	monitoringServer *http.Server
    }
    
    const (
    	metricsPath = "/metrics"
    	versionPath = "/version"
    )
    
    var (
    	serverStart = time.Now()
    
    	_ = monitoring.NewDerivedGauge(
    		"istiod_uptime_seconds",
    		"Current istiod server uptime in seconds",
    	).ValueFrom(func() float64 {
    		return time.Since(serverStart).Seconds()
    	})
    
    	versionTag   = monitoring.CreateLabel("version")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top