package
23.2.20+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New builds a new Provider.
NewMetrics builds a new instance of our Metrics struct.

# Variables

AnomalyDetectionEnabled turns on a per-fingerprint heuristic-based algorithm for marking statements as slow, attempting to capture elevated p99 latency while generally excluding uninteresting executions less than 100ms.
AnomalyDetectionLatencyThreshold sets the bar above which we consider statement executions worth inspecting for slow execution.
AnomalyDetectionMemoryLimit restricts the overall memory available for tracking per-statement execution latencies.
ExecutionInsightsCapacity limits the number of execution insights retained in memory.
HighRetryCountThreshold sets the number of times a slow statement must have been retried to be marked as having a high retry count.
LatencyThreshold configures the execution time beyond which a statement is considered slow.

# Structs

Metrics holds running measurements of various insights-related runtime stats.
No description provided by the author

# Interfaces

No description provided by the author
Provider offers access to the insights subsystem.
Reader offers access to the currently retained set of insights.
Writer observes statement and transaction executions.

# Type aliases

WriterProvider offers a Writer.