Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstrumentClientMetrics ¶
InstrumentClientMetrics adds instrumentation to the official Go Redis client/driver using Prometheus.
Types ¶
type Option ¶
type Option func(c *config)
func WithBuckets ¶
WithBuckets overrides the default buckets used for Prometheus histograms
func WithConstLabels ¶
WithConstLabels sets const labels for all Prometheus time series
func WithMGETKeysBuckets ¶ added in v1.5.1
WithMGETKeysBuckets overrides the default buckets used for the Prometheus histogram that tracks the number of keys requested in MGET commands
func WithNamespace ¶
WithNamespace overrides the default namespace used for Prometheus time series
func WithSubsystem ¶
WithSubsystem overrides the default subsystem used for Prometheus time series
Click to show internal directories.
Click to hide internal directories.