manila

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Namespace = "openstack"
	Subsystem = "sharev2"
)

Variables

This section is empty.

Functions

func RegisterCollectors

func RegisterCollectors(registry *prometheus.Registry, databaseURL string, logger *slog.Logger)

Types

type SharesCollector

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

func NewSharesCollector

func NewSharesCollector(db *sql.DB, logger *slog.Logger) *SharesCollector

func (*SharesCollector) Collect

func (c *SharesCollector) Collect(ch chan<- prometheus.Metric)

func (*SharesCollector) Describe

func (c *SharesCollector) Describe(ch chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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