Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ParserDuration = prometheus.NewHistogram(prometheus.HistogramOpts{ Namespace: "arana", Subsystem: "parser", Name: "duration_seconds", Help: "histogram of processing time (s) in parse SQL.", Buckets: prometheus.ExponentialBuckets(0.00004, 2, 25), }) OptimizeDuration = prometheus.NewHistogram(prometheus.HistogramOpts{ Namespace: "arana", Subsystem: "optimizer", Name: "duration_seconds", Help: "histogram of processing time (s) in optimizer.", Buckets: prometheus.ExponentialBuckets(0.00004, 2, 25), }) ExecuteDuration = prometheus.NewHistogram(prometheus.HistogramOpts{ Namespace: "arana", Subsystem: "executor", Name: "duration_seconds", Help: "histogram of processing time (s) in execute.", Buckets: prometheus.ExponentialBuckets(0.0001, 2, 30), }) )
Functions ¶
func RegisterMetrics ¶
func RegisterMetrics()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.