package
0.0.0-20240914090759-22fe844ec72e
Repository: https://github.com/couchbase/query.git
Documentation: pkg.go.dev
# Functions
Record request metrics.
Use the given AccountingStore to create counters for all the metrics we are interested in:.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Global for gometrics.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Define names for all the metrics we are interested in:.
No description provided by the author
Define names for all the metrics we are interested in:.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Define names for all the metrics we are interested in:.
No description provided by the author
No description provided by the author
user error metrics.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
unknown is always the last and does not have a corresponding name or metric.
No description provided by the author
gauges.
No description provided by the author
error count for sre alerts: https://issues.couchbase.com/browse/MB-58037.
No description provided by the author
# Interfaces
AccountingStore represents a store for maintaining all accounting data (metrics, statistics, events).
Counter is an incrementing/decrementing count (#requests in a queue, #garbage collections).
Gauge is an instantaneous measurement of a property (cpu load, response size).
Histogram provides summary statistics for a metric within a time window.
Meter is a rate of change metric (queries per second, garbage collections per minute).
A Metric is a property that can be measured repeatedly and/or periodically.
MetricRegistry is the container for creating and maintaining Metrics.
Periodically report all registered metrics to a source (console, log, service).
Timer is a measurement of how long an activity took.
# Type aliases
define metrics mnemonics.