collectors

package
v2.33.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 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<- *metrics.StatsEntityWrapper)

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<- *metrics.StatsEntityWrapper)

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, conf *config.Config, env core.Environment)

func (*NginxCollector) UpdateConfig

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

func (*NginxCollector) UpdateSources added in v2.26.0

func (c *NginxCollector) UpdateSources()

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<- *metrics.StatsEntityWrapper)

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