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

# Functions

TestingUserName returns the username of the authenticated user with an admin role.
TestingUserNameNoAdmin returns the username of the authenticated user without an admin role.

# Constants

AdminHealth is the canonical URL path to the health endpoint.
AdminPrefix is the prefix for RESTful endpoints used to provide an administrative interface to the cockroach cluster.
APIV2Path is the prefix for the RESTful v2 API.
DefaultAPIEventLimit is the default maximum number of events returned by any endpoints returning events.
LoadStatusVars exposes prometheus metrics for instant monitoring of CPU load.
MaxConcurrentPaginatedRequests is the maximum number of RPC fan-out requests that will be made at any point of time for a row-limited / paginated request.
MaxConcurrentRequests is the maximum number of RPC fan-out requests that will be made at any point of time.
StatusPrefix is the root of the cluster statistics and metrics API.
StatusVars exposes Prometheus metrics for monitoring consumption.
TestingUser is a username available in test servers, that has been granted the admin role.
TestingUserNoAdmin is a username available in test servers, that has not been granted the admin role.