Documentation ¶
Index ¶
- func GenerateAnalytics() objects.Analytics
- func GenerateBucket(name string) objects.BucketInfo
- func GenerateBucketInfo(name string) objects.BucketInfo
- func GenerateBucketStatSamples() map[string]interface{}
- func GenerateBucketStats() objects.BucketStats
- func GenerateEventing() objects.Eventing
- func GenerateFTS() objects.FTS
- func GenerateIndex() objects.Index
- func GenerateIndexerStats() map[string]map[string]interface{}
- func GenerateNode() objects.Node
- func GenerateNodes(name string, nodes []objects.Node) objects.Nodes
- func GenerateQuery() objects.Query
- func GenerateServers() objects.Servers
- func GenerateTasks() []objects.Task
- func GetBucketIfPresent(m prometheus.Metric) (string, error)
- func GetBucketStatsTestValue(key string, bucket string, stats map[string]objects.BucketStats) float64
- func GetDescString(namespace string, subsystem string, name string, help string, labels []string) string
- func GetFQNameFromDesc(desc *prometheus.Desc) string
- func GetGaugeValue(m prometheus.Metric) (float64, error)
- func GetKeyFromFQName(config *objects.CollectorConfig, fqName string) string
- func GetKeyspaceLabelIfPresent(m prometheus.Metric) (string, error)
- func GetMetricValue(metric io_prometheus_client.Metric) float64
- func GetName(name string, nameOverride string) string
- func GetNodeTestValue(key string, name string, config objects.CollectorConfig, nodes objects.Nodes) float64
- func GetRandomFloat64(min float64, max float64) float64
- func GetRandomFloatSlice(min float64, max float64, n int) []float64
- func GetRandomInt(min int, max int) int
- func GetRandomInt64(min int, max int) int64
- func GetRandomIntAsFloat64(min int, max int) float64
- func GetTaskTestValue(key string, name string, tasks []objects.Task) float64
- func Last(stats []float64) float64
- func Min(x, y float64) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAnalytics ¶
func GenerateBucket ¶
func GenerateBucket(name string) objects.BucketInfo
func GenerateBucketInfo ¶
func GenerateBucketInfo(name string) objects.BucketInfo
func GenerateBucketStatSamples ¶
func GenerateBucketStatSamples() map[string]interface{}
func GenerateBucketStats ¶
func GenerateBucketStats() objects.BucketStats
func GenerateEventing ¶
func GenerateFTS ¶
func GenerateIndex ¶
func GenerateIndexerStats ¶
func GenerateNode ¶
func GenerateQuery ¶
func GenerateServers ¶
func GenerateTasks ¶
func GetBucketIfPresent ¶
func GetBucketIfPresent(m prometheus.Metric) (string, error)
func GetBucketStatsTestValue ¶
func GetDescString ¶
func GetFQNameFromDesc ¶
func GetFQNameFromDesc(desc *prometheus.Desc) string
func GetGaugeValue ¶
func GetGaugeValue(m prometheus.Metric) (float64, error)
func GetKeyFromFQName ¶
func GetKeyFromFQName(config *objects.CollectorConfig, fqName string) string
func GetKeyspaceLabelIfPresent ¶
func GetKeyspaceLabelIfPresent(m prometheus.Metric) (string, error)
func GetMetricValue ¶
func GetMetricValue(metric io_prometheus_client.Metric) float64
func GetNodeTestValue ¶
func GetRandomFloat64 ¶
func GetRandomInt ¶
func GetRandomInt64 ¶
func GetRandomIntAsFloat64 ¶
func GetTaskTestValue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.