glance

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func RegisterCollectors

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

Types

type ImagesCollector

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

func NewImagesCollector

func NewImagesCollector(db *sql.DB, logger *slog.Logger) *ImagesCollector

func (*ImagesCollector) Collect

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

func (*ImagesCollector) Describe

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

Jump to

Keyboard shortcuts

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