metrics

package
v1.1.0-beta.0...-d13e52e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PseudoEstimationNotAvailable prometheus.Counter
	PseudoEstimationOutdate      prometheus.Counter
)

planner core metrics vars

Functions

func GetNonPrepPlanCacheUnsupportedCounter

func GetNonPrepPlanCacheUnsupportedCounter() prometheus.Counter

GetNonPrepPlanCacheUnsupportedCounter get non-prepared plan cache unsupported counter.

func GetPlanCacheHitCounter

func GetPlanCacheHitCounter(isNonPrepared bool) prometheus.Counter

GetPlanCacheHitCounter get different plan cache hit counter

func GetPlanCacheInstanceEvict

func GetPlanCacheInstanceEvict() prometheus.Gauge

GetPlanCacheInstanceEvict get instance plan cache evict counter.

func GetPlanCacheInstanceMemoryUsage

func GetPlanCacheInstanceMemoryUsage(instancePlanCache bool) prometheus.Gauge

GetPlanCacheInstanceMemoryUsage get different plan memory usage counter of plan cache

func GetPlanCacheInstanceNumCounter

func GetPlanCacheInstanceNumCounter(instancePlanCache bool) prometheus.Gauge

GetPlanCacheInstanceNumCounter get different plan counter of plan cache

func GetPlanCacheMissCounter

func GetPlanCacheMissCounter(isNonPrepared bool) prometheus.Counter

GetPlanCacheMissCounter get different plan cache miss counter

func InitMetricsVars

func InitMetricsVars()

InitMetricsVars init planner core metrics vars.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL