extensions

package
v2.39.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdvancedMetricsPluginName = agent_config.AdvancedMetricsExtensionPlugin
)

Variables

This section is empty.

Functions

func CheckAdvancedMetricsDefaults

func CheckAdvancedMetricsDefaults(cfg *advanced_metrics.Config)

Types

type AdvancedMetrics

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

func NewAdvancedMetrics

func NewAdvancedMetrics(env core.Environment, conf *config.Config, advancedMetricsConf interface{}) *AdvancedMetrics

func (*AdvancedMetrics) Close

func (m *AdvancedMetrics) Close()

func (*AdvancedMetrics) Info

func (m *AdvancedMetrics) Info() *core.Info

func (*AdvancedMetrics) Init

func (m *AdvancedMetrics) Init(pipeline core.MessagePipeInterface)

func (*AdvancedMetrics) Process

func (*AdvancedMetrics) Process(_ *core.Message)

func (*AdvancedMetrics) Subscriptions

func (m *AdvancedMetrics) Subscriptions() []string

type AdvancedMetricsConfig

type AdvancedMetricsConfig struct {
	SocketPath        string                            `mapstructure:"socket_path"`
	AggregationPeriod time.Duration                     `mapstructure:"aggregation_period"`
	PublishingPeriod  time.Duration                     `mapstructure:"publishing_period"`
	TableSizesLimits  advanced_metrics.TableSizesLimits `mapstructure:"table_sizes_limits"`
}

type NAPMonitoring

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

func NewNAPMonitoring

func NewNAPMonitoring(env core.Environment, cfg *config.Config, nginxAppProtectMonitoringConf interface{}) (*NAPMonitoring, error)

func (*NAPMonitoring) Close

func (n *NAPMonitoring) Close()

func (*NAPMonitoring) Info

func (n *NAPMonitoring) Info() *core.Info

func (*NAPMonitoring) Init

func (n *NAPMonitoring) Init(pipeline core.MessagePipeInterface)

func (*NAPMonitoring) Process

func (n *NAPMonitoring) Process(msg *core.Message)

func (*NAPMonitoring) Subscriptions

func (n *NAPMonitoring) Subscriptions() []string

type NginxAppProtect

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

NginxAppProtect monitors the NAP installation on the system and reports back its details

func NewNginxAppProtect

func NewNginxAppProtect(config *config.Config, env core.Environment, nginxAppProtectConf interface{}) (*NginxAppProtect, error)

func (*NginxAppProtect) Close

func (n *NginxAppProtect) Close()

func (*NginxAppProtect) Info

func (n *NginxAppProtect) Info() *core.Info

func (*NginxAppProtect) Init

func (n *NginxAppProtect) Init(pipeline core.MessagePipeInterface)

func (*NginxAppProtect) Process

func (n *NginxAppProtect) Process(msg *core.Message)

func (*NginxAppProtect) Subscriptions

func (n *NginxAppProtect) Subscriptions() []string

type NginxAppProtectConfig

type NginxAppProtectConfig struct {
	ReportInterval         time.Duration `mapstructure:"report_interval" yaml:"-"`
	PrecompiledPublication bool          `mapstructure:"precompiled_publication" yaml:"-"`
}

type PhpFpmMetrics added in v2.29.0

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

func NewPhpFpmMetrics added in v2.29.0

func NewPhpFpmMetrics(env core.Environment, conf *config.Config) (*PhpFpmMetrics, error)

func (*PhpFpmMetrics) Close added in v2.29.0

func (pfm *PhpFpmMetrics) Close()

func (*PhpFpmMetrics) Info added in v2.29.0

func (pf *PhpFpmMetrics) Info() *core.Info

func (*PhpFpmMetrics) Init added in v2.29.0

func (pfm *PhpFpmMetrics) Init(pipeline core.MessagePipeInterface)

func (*PhpFpmMetrics) Process added in v2.29.0

func (pfm *PhpFpmMetrics) Process(msg *core.Message)

func (*PhpFpmMetrics) Subscriptions added in v2.29.0

func (pfm *PhpFpmMetrics) Subscriptions() []string

Directories

Path Synopsis
advanced-metrics
aggregator/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
ingester/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
reader/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
tables/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
nginx-app-protect
nap

Jump to

Keyboard shortcuts

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