license

package
v0.0.0-...-a4bbbb0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	abstract.BaseCollector
	// contains filtered or unexported fields
}

func NewCollector

func NewCollector(logger *slog.Logger, tenant string, msGraphClient *msgraphsdk.GraphServiceClient) *Collector

func (*Collector) Describe

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

func (*Collector) ScrapeMetrics

func (c *Collector) ScrapeMetrics(ctx context.Context) ([]prometheus.Metric, error)

func (*Collector) StartBackgroundWorker

func (c *Collector) StartBackgroundWorker(ctx context.Context, interval time.Duration)

Jump to

Keyboard shortcuts

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