Documentation ¶
Overview ¶
package intervalprocessor implements a processor which aggregates cumulative metrics over time, and periodically exports the latest values
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory returns a new factory for the Metrics Generation processor.
Types ¶
type Config ¶
type Config struct { // MaxStaleness is the total time a state entry will live past the time it was last seen. Set to 0 to retain state indefinitely. MaxStaleness time.Duration `mapstructure:"max_staleness"` }
Config defines the configuration for the processor.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func (*Processor) Capabilities ¶
func (p *Processor) Capabilities() consumer.Capabilities
func (*Processor) ConsumeMetrics ¶
Click to show internal directories.
Click to hide internal directories.