metrics

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MetricNamespace string `yaml:"metricNamespace" default:"azure"`
	MetricSubsystem string `yaml:"metricSubsystem" default:"storage"`
	Limit           int    `yaml:"limit" default:"1000"`
}

func (*Config) UnmarshalYAML

func (c *Config) UnmarshalYAML(unmarshal func(any) error) error

type Updater

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

func NewUpdater

func NewUpdater(aggregator *agg.Aggregator, config Config) *Updater

func (*Updater) UpdatePromMetrics

func (ms *Updater) UpdatePromMetrics() error

Jump to

Keyboard shortcuts

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