Documentation ¶
Index ¶
- func New(path string, opts *pebble.Options, wo *pebble.WriteOptions, ...) (kv.Storage, error)
- type Metrics
- type MetricsOption
- func WithDiskSizeGauge(namespace, subSystem, namePrefix string) MetricsOption
- func WithDiskWriteThroughput(namespace, subSystem, namePrefix string) MetricsOption
- func WithEffectiveWriteThroughput(namespace, subSystem, namePrefix string) MetricsOption
- func WithWalWriteThroughput(namespace, subSystem, namePrefix string) MetricsOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(path string, opts *pebble.Options, wo *pebble.WriteOptions, logger logrus.FieldLogger, metricsOpts ...MetricsOption) (kv.Storage, error)
Types ¶
type MetricsOption ¶
type MetricsOption func(pebbleMetrics *Metrics)
func WithDiskSizeGauge ¶
func WithDiskSizeGauge(namespace, subSystem, namePrefix string) MetricsOption
func WithDiskWriteThroughput ¶
func WithDiskWriteThroughput(namespace, subSystem, namePrefix string) MetricsOption
func WithEffectiveWriteThroughput ¶
func WithEffectiveWriteThroughput(namespace, subSystem, namePrefix string) MetricsOption
func WithWalWriteThroughput ¶
func WithWalWriteThroughput(namespace, subSystem, namePrefix string) MetricsOption
Click to show internal directories.
Click to hide internal directories.