metrics

package
v0.0.0-...-503c688 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 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 GetPlanCacheInstanceMemoryUsage

func GetPlanCacheInstanceMemoryUsage() prometheus.Gauge

GetPlanCacheInstanceMemoryUsage get different plan memory usage counter of plan cache

func GetPlanCacheInstanceNumCounter

func GetPlanCacheInstanceNumCounter() 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