collectors

package
v2.20.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerCollector

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

func NewContainerCollector

func NewContainerCollector(env core.Environment, conf *config.Config) *ContainerCollector

func (*ContainerCollector) Collect

func (c *ContainerCollector) Collect(ctx context.Context, wg *sync.WaitGroup, m chan<- *proto.StatsEntity)

func (*ContainerCollector) UpdateConfig

func (c *ContainerCollector) UpdateConfig(config *config.Config)

type NginxCollector

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

func NewNginxCollector

func NewNginxCollector(conf *config.Config, env core.Environment, collectorConf *metrics.NginxCollectorConfig, binary core.NginxBinary) *NginxCollector

func (*NginxCollector) Collect

func (c *NginxCollector) Collect(ctx context.Context, wg *sync.WaitGroup, m chan<- *proto.StatsEntity)

func (*NginxCollector) GetNginxId

func (c *NginxCollector) GetNginxId() string

func (*NginxCollector) Stop

func (c *NginxCollector) Stop()

func (*NginxCollector) UpdateCollectorConfig

func (c *NginxCollector) UpdateCollectorConfig(collectorConfig *metrics.NginxCollectorConfig)

func (*NginxCollector) UpdateConfig

func (c *NginxCollector) UpdateConfig(config *config.Config)

type SystemCollector

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

func NewSystemCollector

func NewSystemCollector(env core.Environment, conf *config.Config) *SystemCollector

func (*SystemCollector) Collect

func (c *SystemCollector) Collect(ctx context.Context, wg *sync.WaitGroup, m chan<- *proto.StatsEntity)

func (*SystemCollector) UpdateConfig

func (c *SystemCollector) UpdateConfig(config *config.Config)

Jump to

Keyboard shortcuts

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