Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Metrics = newCelMetrics()
Metrics provides access to CEL metrics.
Functions ¶
This section is empty.
Types ¶
type CelMetrics ¶
type CelMetrics struct {
// contains filtered or unexported fields
}
func (*CelMetrics) ObserveCompilation ¶
func (m *CelMetrics) ObserveCompilation(elapsed time.Duration)
ObserveCompilation records a CEL compilation with the time the compilation took.
func (*CelMetrics) ObserveEvaluation ¶
func (m *CelMetrics) ObserveEvaluation(elapsed time.Duration)
ObserveEvaluation records a CEL evaluation with the time the evaluation took.
Click to show internal directories.
Click to hide internal directories.