Documentation ¶
Index ¶
- type BootImageCollector
- type DownloadCollector
- type ImageCollector
- func (c *ImageCollector) AddSyncDownloadImageBytes(b int64)
- func (c *ImageCollector) GetGatherer() prometheus.Gatherer
- func (c *ImageCollector) IncrementCacheMiss()
- func (c *ImageCollector) IncrementDownloads()
- func (c *ImageCollector) IncrementSyncDownloadImageCount()
- func (c *ImageCollector) SetMetalAPIImageCount(b int)
- func (c *ImageCollector) SetUnsyncedImageCount(b int)
- type KernelCollector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootImageCollector ¶ added in v0.1.2
type BootImageCollector struct {
// contains filtered or unexported fields
}
func MustBootImageMetrics ¶ added in v0.1.2
func MustBootImageMetrics(logger *slog.Logger, rootPath string) *BootImageCollector
func (*BootImageCollector) GetGatherer ¶ added in v0.1.2
func (c *BootImageCollector) GetGatherer() prometheus.Gatherer
func (*BootImageCollector) IncrementCacheMiss ¶ added in v0.1.2
func (c *BootImageCollector) IncrementCacheMiss()
func (*BootImageCollector) IncrementDownloads ¶ added in v0.1.2
func (c *BootImageCollector) IncrementDownloads()
type DownloadCollector ¶ added in v0.1.2
type DownloadCollector interface { IncrementCacheMiss() IncrementDownloads() GetGatherer() prometheus.Gatherer }
type ImageCollector ¶ added in v0.1.2
type ImageCollector struct {
// contains filtered or unexported fields
}
func MustImageMetrics ¶ added in v0.1.2
func MustImageMetrics(logger *slog.Logger, rootPath string) *ImageCollector
func (*ImageCollector) AddSyncDownloadImageBytes ¶ added in v0.1.2
func (c *ImageCollector) AddSyncDownloadImageBytes(b int64)
func (*ImageCollector) GetGatherer ¶ added in v0.1.2
func (c *ImageCollector) GetGatherer() prometheus.Gatherer
func (*ImageCollector) IncrementCacheMiss ¶ added in v0.1.2
func (c *ImageCollector) IncrementCacheMiss()
func (*ImageCollector) IncrementDownloads ¶ added in v0.1.2
func (c *ImageCollector) IncrementDownloads()
func (*ImageCollector) IncrementSyncDownloadImageCount ¶ added in v0.1.2
func (c *ImageCollector) IncrementSyncDownloadImageCount()
func (*ImageCollector) SetMetalAPIImageCount ¶ added in v0.1.2
func (c *ImageCollector) SetMetalAPIImageCount(b int)
func (*ImageCollector) SetUnsyncedImageCount ¶ added in v0.1.2
func (c *ImageCollector) SetUnsyncedImageCount(b int)
type KernelCollector ¶ added in v0.1.2
type KernelCollector struct {
// contains filtered or unexported fields
}
func MustKernelMetrics ¶ added in v0.1.2
func MustKernelMetrics(logger *slog.Logger, rootPath string) *KernelCollector
func (*KernelCollector) GetGatherer ¶ added in v0.1.2
func (c *KernelCollector) GetGatherer() prometheus.Gatherer
func (*KernelCollector) IncrementCacheMiss ¶ added in v0.1.2
func (c *KernelCollector) IncrementCacheMiss()
func (*KernelCollector) IncrementDownloads ¶ added in v0.1.2
func (c *KernelCollector) IncrementDownloads()
Click to show internal directories.
Click to hide internal directories.