pebble

package
v0.0.3-0...-aa4f25e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

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 Metrics

type Metrics struct {
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL