File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,6 @@ import (
2323)
2424
2525var (
26- // These 2 metrics are used in v1alpha1 controller, should be soon deprecated.
27- PlacementApplyFailedCount = prometheus .NewCounterVec (prometheus.CounterOpts {
28- Name : "placement_apply_failed_counter" ,
29- Help : "Number of failed to apply cluster resource placement" ,
30- }, []string {"name" })
31- PlacementApplySucceedCount = prometheus .NewCounterVec (prometheus.CounterOpts {
32- Name : "placement_apply_succeed_counter" ,
33- Help : "Number of successfully applied cluster resource placement" ,
34- }, []string {"name" })
35-
3626 // FleetPlacementStatusLastTimeStampSeconds is a prometheus metric which keeps track of the last placement status.
3727 FleetPlacementStatusLastTimeStampSeconds = prometheus .NewGaugeVec (prometheus.GaugeOpts {
3828 Name : "fleet_workload_placement_status_last_timestamp_seconds" ,
8171
8272func init () {
8373 metrics .Registry .MustRegister (
84- PlacementApplyFailedCount ,
85- PlacementApplySucceedCount ,
8674 FleetPlacementStatusLastTimeStampSeconds ,
8775 FleetEvictionStatus ,
8876 FleetUpdateRunStatusLastTimestampSeconds ,
You can’t perform that action at this time.
0 commit comments