Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addMonitor (0.43 sec)

  1. pilot/pkg/bootstrap/monitoring.go

    	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 {
    	exporter, err := monitoring.RegisterPrometheusExporter(nil, nil)
    	if err != nil {
    		return fmt.Errorf("could not set up prometheus exporter: %v", err)
    	}
    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