helloworldmetricsprocessor

package module
v0.0.0-...-2f64c5c Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() processor.Factory

NewFactory returns a new factory for the HelloWorld processor. This is a metrics only processor, alpha

func NewHelloWorldMetricsProcessor

func NewHelloWorldMetricsProcessor(logger *zap.Logger, cfg *Config) *helloWorldMetricsProcessor

Constructor. This class implements component.Component but such implementations are not really needed because we are using the processorhelper package functions in the Factory.

Types

type Config

type Config struct {
	ExampleParameterAttr string `mapstructure:"attribute"`
}

Config represents the receiver config settings within the collector's config.yaml

func (*Config) Validate

func (cfg *Config) Validate() error

Validate checks if the receiver configuration is valid

Jump to

Keyboard shortcuts

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