Documentation ¶
Index ¶
- func CallbackWaitTime(pattern, ruleID, source string, startTime time.Time)
- func CrawlerEvalTime(name string, startTime time.Time)
- func CrawlerQueryTime(name string, startTime time.Time)
- func CrawlerValuesCount(name string, count int)
- func IncLockMetric(locker string, methodName string, pattern string, lockSucceeded bool)
- func IncSatisfiedThenNot(methodName string, pattern string, phaseName string)
- func IncWatcherErrMetric(err, prefix string)
- func KeyProcessBufferCap(count int)
- func TimesEvaluated(methodName string, ruleID string, count int)
- func WorkBufferWaitTime(methodName, pattern string, startTime time.Time)
- func WorkerQueueWaitTime(methodName string, startTime time.Time)
- func WorkersCount(count int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallbackWaitTime ¶
CallbackWaitTime tracks how much time elapsed between when the rule was evaluated and the callback called.
func CrawlerEvalTime ¶ added in v1.6.9
CrawlerEvalTime tracks how much time for crawler evals
func CrawlerQueryTime ¶ added in v1.6.9
CrawlerQueryTime tracks how much time for crawler queries
func CrawlerValuesCount ¶ added in v1.6.9
CrawlerValuesCount tracks the number of crawler prefix values
func IncLockMetric ¶
IncLockMetric increments the lock count.
func IncSatisfiedThenNot ¶
IncSatisfiedThenNot increments the count of a rule having initially been satisfied and then not satisfied, either after the initial evaluation or after the lock was obtained.
func IncWatcherErrMetric ¶
func IncWatcherErrMetric(err, prefix string)
IncWatcherErrMetric increments the watcher error count.
func KeyProcessBufferCap ¶
func KeyProcessBufferCap(count int)
KeyProcessBufferCap tracks the capacity of the key processor buffer.
func TimesEvaluated ¶
TimesEvaluated sets the number of times a rule has been evaluated.
func WorkBufferWaitTime ¶
WorkBufferWaitTime tracks the amount of time a work item was in the work buffer.
func WorkerQueueWaitTime ¶
WorkerQueueWaitTime tracks the amount of time a work item has been sitting in a worker queue.
func WorkersCount ¶ added in v1.6.23
func WorkersCount(count int)
WorkerCount tracks the number of workers
Types ¶
This section is empty.