Documentation
¶
Index ¶
Constants ¶
View Source
const ( Namespace = "openstack" Subsystem = "heat" )
Variables ¶
This section is empty.
Functions ¶
func RegisterCollectors ¶
func RegisterCollectors(registry *prometheus.Registry, databaseURL string, logger *slog.Logger)
Types ¶
type StacksCollector ¶
type StacksCollector struct {
// contains filtered or unexported fields
}
func NewStacksCollector ¶
func NewStacksCollector(db *sql.DB, logger *slog.Logger) *StacksCollector
func (*StacksCollector) Collect ¶
func (c *StacksCollector) Collect(ch chan<- prometheus.Metric)
func (*StacksCollector) Describe ¶
func (c *StacksCollector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.