Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LoadTestApplyCountMetric = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "workload_apply_total", Help: "Total number of placement", }, []string{"concurrency", "fleetSize", "result"}) LoadTestApplyLatencyMetric = promauto.NewHistogramVec(prometheus.HistogramOpts{ Name: "workload_apply_latency", Help: "Length of time from placement change to it is applied to the member cluster", Buckets: []float64{0.1, 0.5, 1.0, 2.0, 3, 4, 6, 8, 10, 13, 16, 20, 23, 26, 30, 37, 45, 60, 90, 120, 150, 180, 300, 600, 1200, 1500, 3000}, }, []string{"concurrency", "fleetSize"}) LoadTestDeleteCountMetric = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "workload_delete_total", Help: "Total number of placement delete", }, []string{"concurrency", "fleetSize", "result"}) LoadTestDeleteLatencyMetric = promauto.NewHistogramVec(prometheus.HistogramOpts{ Name: "workload_delete_latency", Help: "Length of time from resource deletion to it is deleted from the member cluster", Buckets: []float64{0.1, 0.5, 1.0, 1.25, 1.5, 1.75, 2.0, 3, 4, 6, 8, 10, 13, 16, 20, 23, 26, 30, 37, 45, 60, 90, 120, 150, 180, 300, 600, 1200, 1500, 3000}, }, []string{"concurrency", "fleetSize"}) )
Functions ¶
func CleanupAll ¶
func MeasureOnePlacement ¶
func PrintTestMetrics ¶
func PrintTestMetrics()
Types ¶
type ClusterNames ¶
type ClusterNames []string
func (*ClusterNames) Set ¶
func (i *ClusterNames) Set(value string) error
func (*ClusterNames) String ¶
func (i *ClusterNames) String() string
Click to show internal directories.
Click to hide internal directories.