package
0.3.1
Repository: https://github.com/caicloud/nirvana.git
Documentation: pkg.go.dev

# Functions

DefaultOptions builds an Options object with default values; it is used automatically when a nil Options is provided.
Install registers the metrics under the given namespace and subsystem.
RecordRestfulRequest gathers the metric values of a Restful HTTP request.
RecordRPCRequest gathers the metric values of a RPC HTTP request.

# Structs

Options provide a way to configure the name of the metrics (by setting Namespace and Subsystem) and control if and how these value should be used as label values.