Documentation ¶
Index ¶
- type ContainerCollector
- type NginxCollector
- func (c *NginxCollector) Collect(ctx context.Context, wg *sync.WaitGroup, m chan<- *metrics.StatsEntityWrapper)
- func (c *NginxCollector) GetNginxId() string
- func (c *NginxCollector) Stop()
- func (c *NginxCollector) UpdateCollectorConfig(collectorConfig *metrics.NginxCollectorConfig, conf *config.Config, ...)
- func (c *NginxCollector) UpdateConfig(config *config.Config)
- func (c *NginxCollector) UpdateSources()
- type SystemCollector
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)
Click to show internal directories.
Click to hide internal directories.