apps

package
v0.0.0-...-b2113b7 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const InstrumentationSourceLabel = confgenerator.InstrumentationSourceLabel

Variables

View Source
var (
	BuiltInConfStructs = map[string]*cg.UnifiedConfig{
		"linux": {
			Logging: &cg.Logging{
				Receivers: map[string]cg.LoggingReceiver{
					"syslog": &cg.LoggingReceiverFiles{
						ConfigComponent: cg.ConfigComponent{Type: "files"},
						IncludePaths:    []string{"/var/log/messages", "/var/log/syslog"},
					},
				},
				Processors: map[string]cg.LoggingProcessor{},
				Service: &cg.LoggingService{
					Pipelines: map[string]*cg.Pipeline{
						"default_pipeline": {
							ReceiverIDs: []string{"syslog"},
						},
					},
				},
			},
			Metrics: &cg.Metrics{
				Receivers: map[string]cg.MetricsReceiver{
					"hostmetrics": &MetricsReceiverHostmetrics{
						ConfigComponent:       cg.ConfigComponent{Type: "hostmetrics"},
						MetricsReceiverShared: cg.MetricsReceiverShared{CollectionInterval: "60s"},
					},
				},
				Processors: map[string]cg.MetricsProcessor{
					"metrics_filter": &MetricsProcessorExcludeMetrics{
						ConfigComponent: cg.ConfigComponent{Type: "exclude_metrics"},
					},
				},
				Service: &cg.MetricsService{
					Pipelines: map[string]*cg.Pipeline{
						"default_pipeline": {
							ReceiverIDs:  []string{"hostmetrics"},
							ProcessorIDs: []string{"metrics_filter"},
						},
					},
				},
			},
		},
		"windows": {
			Logging: &cg.Logging{
				Receivers: map[string]cg.LoggingReceiver{
					"windows_event_log": &cg.LoggingReceiverWindowsEventLog{
						ConfigComponent: cg.ConfigComponent{Type: "windows_event_log"},
						Channels:        []string{"System", "Application", "Security"},
					},
				},
				Processors: map[string]cg.LoggingProcessor{},
				Service: &cg.LoggingService{
					Pipelines: map[string]*cg.Pipeline{
						"default_pipeline": {
							ReceiverIDs: []string{"windows_event_log"},
						},
					},
				},
			},
			Metrics: &cg.Metrics{
				Receivers: map[string]cg.MetricsReceiver{
					"hostmetrics": &MetricsReceiverHostmetrics{
						ConfigComponent:       cg.ConfigComponent{Type: "hostmetrics"},
						MetricsReceiverShared: cg.MetricsReceiverShared{CollectionInterval: "60s"},
					},
					"iis": &MetricsReceiverIis{
						ConfigComponent:       cg.ConfigComponent{Type: "iis"},
						MetricsReceiverShared: cg.MetricsReceiverShared{CollectionInterval: "60s"},
					},
					"mssql": &MetricsReceiverMssql{
						ConfigComponent:       cg.ConfigComponent{Type: "mssql"},
						MetricsReceiverShared: cg.MetricsReceiverShared{CollectionInterval: "60s"},
					},
				},
				Processors: map[string]cg.MetricsProcessor{
					"metrics_filter": &MetricsProcessorExcludeMetrics{
						ConfigComponent: cg.ConfigComponent{Type: "exclude_metrics"},
					},
				},
				Service: &cg.MetricsService{
					Pipelines: map[string]*cg.Pipeline{
						"default_pipeline": {
							ReceiverIDs:  []string{"hostmetrics", "iis", "mssql"},
							ProcessorIDs: []string{"metrics_filter"},
						},
					},
				},
			},
		},
	}
)

Functions

This section is empty.

Types

type AccessSystemLoggingReceiverTomcat

type AccessSystemLoggingReceiverTomcat struct {
	LoggingProcessorTomcatAccess            `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (AccessSystemLoggingReceiverTomcat) Components

type LoggingProcessorApacheAccess

type LoggingProcessorApacheAccess struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorApacheAccess) Components

func (LoggingProcessorApacheAccess) Type

type LoggingProcessorApacheError

type LoggingProcessorApacheError struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorApacheError) Components

func (LoggingProcessorApacheError) Type

type LoggingProcessorCassandraDebug

type LoggingProcessorCassandraDebug struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorCassandraDebug) Components

func (LoggingProcessorCassandraDebug) Type

type LoggingProcessorCassandraGC

type LoggingProcessorCassandraGC struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorCassandraGC) Components

func (LoggingProcessorCassandraGC) Type

type LoggingProcessorCassandraSystem

type LoggingProcessorCassandraSystem struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorCassandraSystem) Components

func (LoggingProcessorCassandraSystem) Type

type LoggingProcessorCouchbaseGOXDCR

type LoggingProcessorCouchbaseGOXDCR struct {
	confgenerator.ConfigComponent           `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

LoggingProcessorCouchbaseGOXDCR is a struct that iwll generate the fluentbit components for the goxdcr logs

func (LoggingProcessorCouchbaseGOXDCR) Components

Components returns the fluentbit components for the couchbase goxdcr logs

func (LoggingProcessorCouchbaseGOXDCR) Type

Type returns the type string for the cross datacenter logs of couchbase

type LoggingProcessorCouchbaseHTTPAccess

type LoggingProcessorCouchbaseHTTPAccess struct {
	confgenerator.ConfigComponent           `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

LoggingProcessorCouchbaseHTTPAccess is a struct that will generate the fluentbit components for the http access logs

func (LoggingProcessorCouchbaseHTTPAccess) Components

Components returns the fluentbit components for the http access logs of couchbase

func (LoggingProcessorCouchbaseHTTPAccess) Type

Type returns the string for the couchbase http access logs

type LoggingProcessorCouchdb

type LoggingProcessorCouchdb struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorCouchdb) Components

func (p LoggingProcessorCouchdb) Components(ctx context.Context, tag string, uid string) []fluentbit.Component

func (LoggingProcessorCouchdb) Type

type LoggingProcessorElasticsearchGC

type LoggingProcessorElasticsearchGC struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorElasticsearchGC) Components

func (LoggingProcessorElasticsearchGC) Type

type LoggingProcessorElasticsearchJson

type LoggingProcessorElasticsearchJson struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorElasticsearchJson) Components

func (LoggingProcessorElasticsearchJson) Type

type LoggingProcessorFlink struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorFlink) Components

func (p LoggingProcessorFlink) Components(ctx context.Context, tag string, uid string) []fluentbit.Component

func (LoggingProcessorFlink) Type

type LoggingProcessorHadoop

type LoggingProcessorHadoop struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorHadoop) Components

func (p LoggingProcessorHadoop) Components(ctx context.Context, tag, uid string) []fluentbit.Component

func (LoggingProcessorHadoop) Type

type LoggingProcessorHbaseSystem

type LoggingProcessorHbaseSystem struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorHbaseSystem) Components

func (LoggingProcessorHbaseSystem) Type

type LoggingProcessorIisAccess

type LoggingProcessorIisAccess struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (*LoggingProcessorIisAccess) Components

func (p *LoggingProcessorIisAccess) Components(ctx context.Context, tag, uid string) []fluentbit.Component

func (*LoggingProcessorIisAccess) Type

type LoggingProcessorJettyAccess

type LoggingProcessorJettyAccess struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorJettyAccess) Components

func (LoggingProcessorJettyAccess) Type

type LoggingProcessorKafka

type LoggingProcessorKafka struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorKafka) Components

func (p LoggingProcessorKafka) Components(ctx context.Context, tag string, uid string) []fluentbit.Component

func (LoggingProcessorKafka) Type

type LoggingProcessorMongodb

type LoggingProcessorMongodb struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (*LoggingProcessorMongodb) Components

func (p *LoggingProcessorMongodb) Components(ctx context.Context, tag, uid string) []fluentbit.Component

func (*LoggingProcessorMongodb) JsonLogComponents

func (p *LoggingProcessorMongodb) JsonLogComponents(ctx context.Context, tag, uid string) []fluentbit.Component

JsonLogComponents are the fluentbit components for parsing log messages that are json formatted. these are generally messages from mongo with versions greater than or equal to 4.4 documentation: https://docs.mongodb.com/v4.4/reference/log-messages/#log-message-format

func (*LoggingProcessorMongodb) RegexLogComponents

func (p *LoggingProcessorMongodb) RegexLogComponents(tag, uid string) []fluentbit.Component

func (*LoggingProcessorMongodb) Type

type LoggingProcessorMysqlError

type LoggingProcessorMysqlError struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorMysqlError) Components

func (LoggingProcessorMysqlError) Type

type LoggingProcessorMysqlGeneral

type LoggingProcessorMysqlGeneral struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorMysqlGeneral) Components

func (LoggingProcessorMysqlGeneral) Type

type LoggingProcessorMysqlSlow

type LoggingProcessorMysqlSlow struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorMysqlSlow) Components

func (LoggingProcessorMysqlSlow) Type

type LoggingProcessorNginxAccess

type LoggingProcessorNginxAccess struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorNginxAccess) Components

func (LoggingProcessorNginxAccess) Type

type LoggingProcessorNginxError

type LoggingProcessorNginxError struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorNginxError) Components

func (LoggingProcessorNginxError) Type

type LoggingProcessorOracleDBAlert

type LoggingProcessorOracleDBAlert struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorOracleDBAlert) Components

func (LoggingProcessorOracleDBAlert) Type

type LoggingProcessorOracleDBAudit

type LoggingProcessorOracleDBAudit struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorOracleDBAudit) Components

func (LoggingProcessorOracleDBAudit) Type

type LoggingProcessorPostgresql

type LoggingProcessorPostgresql struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorPostgresql) Components

func (LoggingProcessorPostgresql) Type

type LoggingProcessorRabbitmq

type LoggingProcessorRabbitmq struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (*LoggingProcessorRabbitmq) Components

func (p *LoggingProcessorRabbitmq) Components(ctx context.Context, tag, uid string) []fluentbit.Component

func (*LoggingProcessorRabbitmq) Type

type LoggingProcessorRedis

type LoggingProcessorRedis struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorRedis) Components

func (p LoggingProcessorRedis) Components(ctx context.Context, tag string, uid string) []fluentbit.Component

func (LoggingProcessorRedis) Type

type LoggingProcessorSapHanaTrace

type LoggingProcessorSapHanaTrace struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorSapHanaTrace) Components

func (LoggingProcessorSapHanaTrace) Type

type LoggingProcessorSolrSystem

type LoggingProcessorSolrSystem struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorSolrSystem) Components

func (LoggingProcessorSolrSystem) Type

type LoggingProcessorTomcatAccess

type LoggingProcessorTomcatAccess struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorTomcatAccess) Components

func (LoggingProcessorTomcatAccess) Type

type LoggingProcessorTomcatSystem

type LoggingProcessorTomcatSystem struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorTomcatSystem) Components

func (LoggingProcessorTomcatSystem) Type

type LoggingProcessorVarnish

type LoggingProcessorVarnish struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorVarnish) Components

func (p LoggingProcessorVarnish) Components(ctx context.Context, tag string, uid string) []fluentbit.Component

func (LoggingProcessorVarnish) Type

type LoggingProcessorVaultJson

type LoggingProcessorVaultJson struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorVaultJson) Components

func (p LoggingProcessorVaultJson) Components(ctx context.Context, tag, uid string) []fluentbit.Component

func (LoggingProcessorVaultJson) Type

type LoggingProcessorWildflySystem

type LoggingProcessorWildflySystem struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorWildflySystem) Components

func (LoggingProcessorWildflySystem) Type

type LoggingProcessorZookeeperGeneral

type LoggingProcessorZookeeperGeneral struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingProcessorZookeeperGeneral) Components

func (LoggingProcessorZookeeperGeneral) Type

type LoggingReceiverActiveDirectoryDS

type LoggingReceiverActiveDirectoryDS struct {
	confgenerator.ConfigComponent `yaml:",inline"`
}

func (LoggingReceiverActiveDirectoryDS) Components

func (LoggingReceiverActiveDirectoryDS) Type

type LoggingReceiverApacheAccess

type LoggingReceiverApacheAccess struct {
	LoggingProcessorApacheAccess            `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverApacheAccess) Components

type LoggingReceiverApacheError

type LoggingReceiverApacheError struct {
	LoggingProcessorApacheError             `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverApacheError) Components

type LoggingReceiverCassandraDebug

type LoggingReceiverCassandraDebug struct {
	LoggingProcessorCassandraDebug          `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverCassandraDebug) Components

type LoggingReceiverCassandraGC

type LoggingReceiverCassandraGC struct {
	LoggingProcessorCassandraGC             `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverCassandraGC) Components

type LoggingReceiverCassandraSystem

type LoggingReceiverCassandraSystem struct {
	LoggingProcessorCassandraSystem         `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverCassandraSystem) Components

type LoggingReceiverCouchbase

type LoggingReceiverCouchbase struct {
	confgenerator.ConfigComponent           `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

LoggingReceiverCouchbase is a struct used for generating the fluentbit component for couchbase logs

func (LoggingReceiverCouchbase) Components

Components returns the logging components of the couchbase access logs

func (LoggingReceiverCouchbase) Type

func (lr LoggingReceiverCouchbase) Type() string

Type returns the string identifier for the general couchbase logs

type LoggingReceiverCouchdb

type LoggingReceiverCouchdb struct {
	LoggingProcessorCouchdb                 `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverCouchdb) Components

type LoggingReceiverElasticsearchGC

type LoggingReceiverElasticsearchGC struct {
	LoggingProcessorElasticsearchGC         `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline"`
}

func (LoggingReceiverElasticsearchGC) Components

type LoggingReceiverElasticsearchJson

type LoggingReceiverElasticsearchJson struct {
	LoggingProcessorElasticsearchJson       `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline"`
}

func (LoggingReceiverElasticsearchJson) Components

type LoggingReceiverFlink struct {
	LoggingProcessorFlink                   `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverFlink) Components

func (r LoggingReceiverFlink) Components(ctx context.Context, tag string) []fluentbit.Component

type LoggingReceiverHadoop

type LoggingReceiverHadoop struct {
	LoggingProcessorHadoop                  `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline"`
}

func (LoggingReceiverHadoop) Components

type LoggingReceiverIisAccess

type LoggingReceiverIisAccess struct {
	LoggingProcessorIisAccess               `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverIisAccess) Components

type LoggingReceiverJettyAccess

type LoggingReceiverJettyAccess struct {
	LoggingProcessorJettyAccess             `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverJettyAccess) Components

type LoggingReceiverKafka

type LoggingReceiverKafka struct {
	LoggingProcessorKafka                   `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverKafka) Components

func (r LoggingReceiverKafka) Components(ctx context.Context, tag string) []fluentbit.Component

type LoggingReceiverMongodb

type LoggingReceiverMongodb struct {
	LoggingProcessorMongodb                 `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (*LoggingReceiverMongodb) Components

func (r *LoggingReceiverMongodb) Components(ctx context.Context, tag string) []fluentbit.Component

type LoggingReceiverMysqlError

type LoggingReceiverMysqlError struct {
	LoggingProcessorMysqlError              `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverMysqlError) Components

type LoggingReceiverMysqlGeneral

type LoggingReceiverMysqlGeneral struct {
	LoggingProcessorMysqlGeneral            `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverMysqlGeneral) Components

type LoggingReceiverMysqlSlow

type LoggingReceiverMysqlSlow struct {
	LoggingProcessorMysqlSlow               `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverMysqlSlow) Components

type LoggingReceiverNginxAccess

type LoggingReceiverNginxAccess struct {
	LoggingProcessorNginxAccess             `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverNginxAccess) Components

type LoggingReceiverNginxError

type LoggingReceiverNginxError struct {
	LoggingProcessorNginxError              `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverNginxError) Components

type LoggingReceiverOracleDBAlert

type LoggingReceiverOracleDBAlert struct {
	LoggingProcessorOracleDBAlert           `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
	OracleHome                              string   `yaml:"oracle_home,omitempty" validate:"required_without=IncludePaths,excluded_with=IncludePaths"`
	IncludePaths                            []string `yaml:"include_paths,omitempty" validate:"required_without=OracleHome,excluded_with=OracleHome"`
}

func (LoggingReceiverOracleDBAlert) Components

type LoggingReceiverOracleDBAudit

type LoggingReceiverOracleDBAudit struct {
	LoggingProcessorOracleDBAudit           `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
	OracleHome                              string   `yaml:"oracle_home,omitempty" validate:"required_without=IncludePaths,excluded_with=IncludePaths"`
	IncludePaths                            []string `yaml:"include_paths,omitempty" validate:"required_without=OracleHome,excluded_with=OracleHome"`
}

func (LoggingReceiverOracleDBAudit) Components

type LoggingReceiverPostgresql

type LoggingReceiverPostgresql struct {
	LoggingProcessorPostgresql              `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverPostgresql) Components

type LoggingReceiverRabbitmq

type LoggingReceiverRabbitmq struct {
	LoggingProcessorRabbitmq                `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverRabbitmq) Components

type LoggingReceiverRedis

type LoggingReceiverRedis struct {
	LoggingProcessorRedis                   `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverRedis) Components

func (r LoggingReceiverRedis) Components(ctx context.Context, tag string) []fluentbit.Component

type LoggingReceiverSapHanaTrace

type LoggingReceiverSapHanaTrace struct {
	LoggingProcessorSapHanaTrace            `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverSapHanaTrace) Components

type LoggingReceiverSolrSystem

type LoggingReceiverSolrSystem struct {
	LoggingProcessorSolrSystem              `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverSolrSystem) Components

type LoggingReceiverVarnish

type LoggingReceiverVarnish struct {
	LoggingProcessorVarnish                 `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverVarnish) Components

type LoggingReceiverVaultAuditJson

type LoggingReceiverVaultAuditJson struct {
	LoggingProcessorVaultJson               `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline"`
	IncludePaths                            []string `yaml:"include_paths,omitempty" validate:"required"`
}

func (LoggingReceiverVaultAuditJson) Components

type LoggingReceiverWildflySystem

type LoggingReceiverWildflySystem struct {
	LoggingProcessorWildflySystem           `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (LoggingReceiverWildflySystem) Components

type LoggingReceiverZookeeperGeneral

type LoggingReceiverZookeeperGeneral struct {
	LoggingProcessorZookeeperGeneral        `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline"`
}

func (LoggingReceiverZookeeperGeneral) Components

type MetricsProcessorExcludeMetrics

type MetricsProcessorExcludeMetrics struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	MetricsPattern []string `yaml:"metrics_pattern,flow"`
}

func (MetricsProcessorExcludeMetrics) AllMetricsExcluded

func (p MetricsProcessorExcludeMetrics) AllMetricsExcluded(metrics ...string) bool

AllMetricsExcluded checks if its MetricsPattern list can match all of the input metrics which would indicate all of the metrics will be excluded

func (MetricsProcessorExcludeMetrics) Processors

func (MetricsProcessorExcludeMetrics) Type

type MetricsReceiverActiveDirectoryDS

type MetricsReceiverActiveDirectoryDS struct {
	confgenerator.ConfigComponent       `yaml:",inline"`
	confgenerator.MetricsReceiverShared `yaml:",inline"`
}

func (MetricsReceiverActiveDirectoryDS) Pipelines

func (MetricsReceiverActiveDirectoryDS) Type

type MetricsReceiverActivemq

type MetricsReceiverActivemq struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverSharedJVM        `yaml:",inline"`
	confgenerator.MetricsReceiverSharedCollectJVM `yaml:",inline"`
}

func (MetricsReceiverActivemq) Pipelines

func (MetricsReceiverActivemq) Type

type MetricsReceiverAerospike

type MetricsReceiverAerospike struct {
	confgenerator.ConfigComponent              `yaml:",inline"`
	confgenerator.MetricsReceiverShared        `yaml:",inline"`
	confgenerator.MetricsReceiverSharedCluster `yaml:",inline"`

	Endpoint string        `yaml:"endpoint" validate:"omitempty,hostname_port"`
	Username string        `yaml:"username" validate:"required_with=Password"`
	Password secret.String `yaml:"password" validate:"required_with=Username"`
	Timeout  time.Duration `yaml:"timeout"`
}

MetricsReceiverAerospike is configuration for the Aerospike metrics receiver

func (MetricsReceiverAerospike) Pipelines

Pipelines is the OTEL pipelines created from MetricsReceiverAerospike

func (MetricsReceiverAerospike) Type

Type is the MetricsReceiverType for the Aerospike metrics receiver

type MetricsReceiverApache

type MetricsReceiverApache struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared `yaml:",inline"`

	ServerStatusURL string `yaml:"server_status_url" validate:"omitempty,url"`
}

func (MetricsReceiverApache) Pipelines

func (MetricsReceiverApache) Type

func (r MetricsReceiverApache) Type() string

type MetricsReceiverCassandra

type MetricsReceiverCassandra struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverSharedJVM `yaml:",inline"`

	confgenerator.MetricsReceiverSharedCollectJVM `yaml:",inline"`
}

func (MetricsReceiverCassandra) Pipelines

func (MetricsReceiverCassandra) Type

type MetricsReceiverCouchbase

type MetricsReceiverCouchbase struct {
	confgenerator.ConfigComponent       `yaml:",inline"`
	confgenerator.MetricsReceiverShared `yaml:",inline"`

	Endpoint string        `yaml:"endpoint" validate:"omitempty,hostname_port"`
	Username string        `yaml:"username" validate:"required"`
	Password secret.String `yaml:"password" validate:"required"`
}

MetricsReceiverCouchbase is the struct for ops agent monitoring metrics for couchbase

func (MetricsReceiverCouchbase) Pipelines

Pipelines will construct the prometheus receiver configuration

func (MetricsReceiverCouchbase) Type

Type returns the configuration type key of the couchbase receiver

type MetricsReceiverCouchdb

type MetricsReceiverCouchdb struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared `yaml:",inline"`

	Endpoint string        `yaml:"endpoint" validate:"omitempty,url,startswith=http:"`
	Username string        `yaml:"username" validate:"required_with=Password"`
	Password secret.String `yaml:"password" validate:"required_with=Username"`
}

func (MetricsReceiverCouchdb) Pipelines

func (MetricsReceiverCouchdb) Type

type MetricsReceiverDcgm

type MetricsReceiverDcgm struct {
	confgenerator.ConfigComponent       `yaml:",inline"`
	confgenerator.MetricsReceiverShared `yaml:",inline"`

	Endpoint string `yaml:"endpoint" validate:"omitempty,hostname_port"`
}

func (MetricsReceiverDcgm) Pipelines

func (MetricsReceiverDcgm) Type

func (r MetricsReceiverDcgm) Type() string

type MetricsReceiverElasticsearch

type MetricsReceiverElasticsearch struct {
	confgenerator.ConfigComponent                 `yaml:",inline"`
	confgenerator.MetricsReceiverShared           `yaml:",inline"`
	confgenerator.MetricsReceiverSharedTLS        `yaml:",inline"`
	confgenerator.MetricsReceiverSharedCollectJVM `yaml:",inline"`
	confgenerator.MetricsReceiverSharedCluster    `yaml:",inline"`

	Endpoint string `yaml:"endpoint" validate:"omitempty,url,startswith=http:|startswith=https:"`

	Username string        `yaml:"username" validate:"required_with=Password"`
	Password secret.String `yaml:"password" validate:"required_with=Username"`
}

func (MetricsReceiverElasticsearch) Pipelines

func (MetricsReceiverElasticsearch) Type

type MetricsReceiverFlink struct {
	confgenerator.ConfigComponent       `yaml:",inline"`
	confgenerator.MetricsReceiverShared `yaml:",inline"`
	Endpoint                            string `yaml:"endpoint" validate:"omitempty,url,startswith=http:"`
}

func (MetricsReceiverFlink) Pipelines

func (MetricsReceiverFlink) Type

type MetricsReceiverHadoop

type MetricsReceiverHadoop struct {
	confgenerator.ConfigComponent                 `yaml:",inline"`
	confgenerator.MetricsReceiverSharedJVM        `yaml:",inline"`
	confgenerator.MetricsReceiverSharedCollectJVM `yaml:",inline"`
}

func (MetricsReceiverHadoop) Pipelines

func (MetricsReceiverHadoop) Type

func (r MetricsReceiverHadoop) Type() string

type MetricsReceiverHbase

type MetricsReceiverHbase struct {
	confgenerator.ConfigComponent                 `yaml:",inline"`
	confgenerator.MetricsReceiverSharedJVM        `yaml:",inline"`
	confgenerator.MetricsReceiverSharedCollectJVM `yaml:",inline"`
}

func (MetricsReceiverHbase) Pipelines

func (MetricsReceiverHbase) Type

func (r MetricsReceiverHbase) Type() string

type MetricsReceiverHostmetrics

type MetricsReceiverHostmetrics struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared `yaml:",inline"`
	// contains filtered or unexported fields
}

func (MetricsReceiverHostmetrics) MergeMetricsProcessor

func (MetricsReceiverHostmetrics) Pipelines

func (MetricsReceiverHostmetrics) Type

type MetricsReceiverIis

type MetricsReceiverIis struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared `yaml:",inline"`

	confgenerator.VersionedReceivers `yaml:",inline"`
}

func (MetricsReceiverIis) Pipelines

func (MetricsReceiverIis) Type

func (r MetricsReceiverIis) Type() string

type MetricsReceiverJVM

type MetricsReceiverJVM struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverSharedJVM `yaml:",inline"`
}

func (MetricsReceiverJVM) Pipelines

func (MetricsReceiverJVM) Type

func (r MetricsReceiverJVM) Type() string

type MetricsReceiverJetty

type MetricsReceiverJetty struct {
	confgenerator.ConfigComponent                 `yaml:",inline"`
	confgenerator.MetricsReceiverSharedJVM        `yaml:",inline"`
	confgenerator.MetricsReceiverSharedCollectJVM `yaml:",inline"`
}

func (MetricsReceiverJetty) Pipelines

func (MetricsReceiverJetty) Type

func (r MetricsReceiverJetty) Type() string

type MetricsReceiverKafka

type MetricsReceiverKafka struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverSharedJVM        `yaml:",inline"`
	confgenerator.MetricsReceiverSharedCollectJVM `yaml:",inline"`
}

func (MetricsReceiverKafka) Pipelines

func (MetricsReceiverKafka) Type

func (r MetricsReceiverKafka) Type() string

type MetricsReceiverMemcached

type MetricsReceiverMemcached struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared `yaml:",inline"`

	Endpoint string `yaml:"endpoint" validate:"omitempty,hostname_port|startswith=/"`
}

func (MetricsReceiverMemcached) Pipelines

func (MetricsReceiverMemcached) Type

type MetricsReceiverMongoDB

type MetricsReceiverMongoDB struct {
	confgenerator.ConfigComponent          `yaml:",inline"`
	confgenerator.MetricsReceiverSharedTLS `yaml:",inline"`
	confgenerator.MetricsReceiverShared    `yaml:",inline"`
	Endpoint                               string        `yaml:"endpoint,omitempty"`
	Username                               string        `yaml:"username,omitempty"`
	Password                               secret.String `yaml:"password,omitempty"`
}

func (MetricsReceiverMongoDB) Pipelines

func (MetricsReceiverMongoDB) Type

func (r MetricsReceiverMongoDB) Type() string

type MetricsReceiverMongoDBHosts

type MetricsReceiverMongoDBHosts struct {
	Endpoint  string `yaml:"endpoint"`
	Transport string `yaml:"transport"`
}

type MetricsReceiverMssql

type MetricsReceiverMssql struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared `yaml:",inline"`

	confgenerator.VersionedReceivers `yaml:",inline"`
}

func (MetricsReceiverMssql) Pipelines

func (MetricsReceiverMssql) Type

type MetricsReceiverMySql

type MetricsReceiverMySql struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared `yaml:",inline"`

	Endpoint string `yaml:"endpoint" validate:"omitempty,hostname_port|startswith=/"`

	Password secret.String `yaml:"password" validate:"omitempty"`
	Username string        `yaml:"username" validate:"omitempty"`
}

func (MetricsReceiverMySql) Pipelines

func (MetricsReceiverMySql) Type

func (r MetricsReceiverMySql) Type() string

type MetricsReceiverNginx

type MetricsReceiverNginx struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared `yaml:",inline"`

	StubStatusURL string `yaml:"stub_status_url" validate:"omitempty,url"`
}

func (MetricsReceiverNginx) Pipelines

func (MetricsReceiverNginx) Type

func (r MetricsReceiverNginx) Type() string

type MetricsReceiverOracleDB

type MetricsReceiverOracleDB struct {
	confgenerator.ConfigComponent       `yaml:",inline"`
	confgenerator.MetricsReceiverShared `yaml:",inline"`

	Insecure           *bool `yaml:"insecure" validate:"omitempty"`
	InsecureSkipVerify *bool `yaml:"insecure_skip_verify" validate:"omitempty"`

	Endpoint string        `yaml:"endpoint" validate:"omitempty,hostname_port|startswith=/"`
	Username string        `yaml:"username"`
	Password secret.String `yaml:"password"`

	SID         string `yaml:"sid" validate:"omitempty"`
	ServiceName string `yaml:"service_name" validate:"omitempty"`
	Wallet      string `yaml:"wallet" validate:"omitempty"`
}

func (MetricsReceiverOracleDB) Pipelines

func (MetricsReceiverOracleDB) Type

type MetricsReceiverPostgresql

type MetricsReceiverPostgresql struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared    `yaml:",inline"`
	confgenerator.MetricsReceiverSharedTLS `yaml:",inline"`

	Endpoint string `yaml:"endpoint" validate:"omitempty,hostname_port|startswith=/"`

	Password  secret.String `yaml:"password" validate:"omitempty"`
	Username  string        `yaml:"username" validate:"omitempty"`
	Databases []string      `yaml:"databases" validate:"omitempty"`
}

func (MetricsReceiverPostgresql) Pipelines

func (MetricsReceiverPostgresql) Type

type MetricsReceiverRabbitmq

type MetricsReceiverRabbitmq struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared    `yaml:",inline"`
	confgenerator.MetricsReceiverSharedTLS `yaml:",inline"`

	Password secret.String `yaml:"password" validate:"required"`
	Username string        `yaml:"username" validate:"required"`
	Endpoint string        `yaml:"endpoint" validate:"omitempty,url"`
}

func (MetricsReceiverRabbitmq) Pipelines

func (MetricsReceiverRabbitmq) Type

type MetricsReceiverRedis

type MetricsReceiverRedis struct {
	confgenerator.ConfigComponent          `yaml:",inline"`
	confgenerator.MetricsReceiverSharedTLS `yaml:",inline"`
	confgenerator.MetricsReceiverShared    `yaml:",inline"`

	// TODO: Add support for ACL Authentication
	Address  string        `yaml:"address" validate:"omitempty,hostname_port|startswith=/"`
	Password secret.String `yaml:"password" validate:"omitempty"`
}

func (MetricsReceiverRedis) Pipelines

func (MetricsReceiverRedis) Type

func (r MetricsReceiverRedis) Type() string

type MetricsReceiverSapHana

type MetricsReceiverSapHana struct {
	confgenerator.ConfigComponent          `yaml:",inline"`
	confgenerator.MetricsReceiverSharedTLS `yaml:",inline"`
	confgenerator.MetricsReceiverShared    `yaml:",inline"`

	Endpoint string `yaml:"endpoint" validate:"omitempty,hostname_port|startswith=/"`

	Password secret.String `yaml:"password" validate:"omitempty"`
	Username string        `yaml:"username" validate:"omitempty"`
}

func (MetricsReceiverSapHana) Pipelines

func (MetricsReceiverSapHana) Type

func (s MetricsReceiverSapHana) Type() string

type MetricsReceiverSolr

type MetricsReceiverSolr struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverSharedJVM `yaml:",inline"`
}

func (MetricsReceiverSolr) Pipelines

func (MetricsReceiverSolr) Type

func (r MetricsReceiverSolr) Type() string

type MetricsReceiverTomcat

type MetricsReceiverTomcat struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverSharedJVM `yaml:",inline"`

	confgenerator.MetricsReceiverSharedCollectJVM `yaml:",inline"`
}

func (MetricsReceiverTomcat) Pipelines

func (MetricsReceiverTomcat) Type

func (r MetricsReceiverTomcat) Type() string

type MetricsReceiverVarnish

type MetricsReceiverVarnish struct {
	confgenerator.ConfigComponent       `yaml:",inline"`
	confgenerator.MetricsReceiverShared `yaml:",inline"`
	CacheDir                            string `yaml:"cache_dir" validate:"omitempty"`
	ExecDir                             string `yaml:"exec_dir" validate:"omitempty"`
}

func (MetricsReceiverVarnish) Pipelines

func (MetricsReceiverVarnish) Type

type MetricsReceiverVault

type MetricsReceiverVault struct {
	confgenerator.ConfigComponent          `yaml:",inline"`
	confgenerator.MetricsReceiverShared    `yaml:",inline"`
	confgenerator.MetricsReceiverSharedTLS `yaml:",inline"`

	Token       secret.String `yaml:"token"`
	Endpoint    string        `yaml:"endpoint" validate:"omitempty,hostname_port"`
	MetricsPath string        `yaml:"metrics_path" validate:"omitempty,startswith=/"`
	Scheme      string        `yaml:"scheme" validate:"omitempty"`
}

func (MetricsReceiverVault) Pipelines

func (MetricsReceiverVault) Type

func (r MetricsReceiverVault) Type() string

type MetricsReceiverWildfly

type MetricsReceiverWildfly struct {
	confgenerator.ConfigComponent          `yaml:",inline"`
	confgenerator.MetricsReceiverSharedJVM `yaml:",inline"`
}

func (MetricsReceiverWildfly) Pipelines

func (MetricsReceiverWildfly) Type

func (r MetricsReceiverWildfly) Type() string

type MetricsReceiverZookeeper

type MetricsReceiverZookeeper struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	confgenerator.MetricsReceiverShared `yaml:",inline"`

	Endpoint string `yaml:"endpoint" validate:"omitempty,hostname_port"`
}

func (MetricsReceiverZookeeper) Pipelines

func (MetricsReceiverZookeeper) Type

type ReceiverOTLP

type ReceiverOTLP struct {
	confgenerator.ConfigComponent `yaml:",inline"`

	GRPCEndpoint string `yaml:"grpc_endpoint" validate:"omitempty,hostname_port" tracking:"endpoint"`
	MetricsMode  string `yaml:"metrics_mode" validate:"omitempty,oneof=googlecloudmonitoring googlemanagedprometheus" tracking:""`
}

func (ReceiverOTLP) Pipelines

func (r ReceiverOTLP) Pipelines(ctx context.Context) ([]otel.ReceiverPipeline, error)

func (ReceiverOTLP) Type

func (r ReceiverOTLP) Type() string

type SystemLoggingReceiverHbase

type SystemLoggingReceiverHbase struct {
	LoggingProcessorHbaseSystem             `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (SystemLoggingReceiverHbase) Components

type SystemLoggingReceiverTomcat

type SystemLoggingReceiverTomcat struct {
	LoggingProcessorTomcatSystem            `yaml:",inline"`
	confgenerator.LoggingReceiverFilesMixin `yaml:",inline" validate:"structonly"`
}

func (SystemLoggingReceiverTomcat) Components

Jump to

Keyboard shortcuts

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