statustestexporter

package module
v0.0.0-...-519c977 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() exporter.Factory

NewFactory creates a new factory for the statustest exporter.

Types

type Config

type Config struct {
	// Interval is how often the exporter randomly switches its reported status.
	Interval time.Duration `mapstructure:"interval"`
}

Config holds configuration for the statustest exporter.

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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