api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gatherer

type Gatherer interface {
	api.Module
	// DataChannel is a blocking channel to transfer the apm data to the upstream processor module.
	OutputDataChannel() <-chan *queue.SequenceEvent
	// Ack the sent offset.
	Ack(lastOffset event.Offset)
	// Inject the Processor module.
	SetProcessor(processor api.Module) error
}

Gatherer is the APM data collection module in Satellite.

type GathererConfig

type GathererConfig struct {
	// common config
	*config.CommonFields
	QueueConfig plugin.Config `mapstructure:"queue"` // queue plugin config

	// ReceiverGatherer
	ReceiverConfig plugin.Config `mapstructure:"receiver"`    // collector plugin config
	ServerName     string        `mapstructure:"server_name"` // depends on which server

	// FetcherGatherer
	FetcherConfig plugin.Config `mapstructure:"fetcher"` // fetcher plugin config
}

GathererConfig contains all implementation fields.

Jump to

Keyboard shortcuts

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