Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ReceiverFactory
NewFactory creates a factory for MongoDB Atlas receiver
Types ¶
type AlertConfig ¶ added in v0.54.0
type AlertConfig struct { Enabled bool `mapstructure:"enabled"` Endpoint string `mapstructure:"endpoint"` Secret string `mapstructure:"secret"` TLS *configtls.TLSServerSetting `mapstructure:"tls"` }
type Config ¶
type Config struct { scraperhelper.ScraperControllerSettings `mapstructure:",squash"` PublicKey string `mapstructure:"public_key"` PrivateKey string `mapstructure:"private_key"` Granularity string `mapstructure:"granularity"` Metrics metadata.MetricsSettings `mapstructure:"metrics"` Alerts AlertConfig `mapstructure:"alerts"` Logs LogConfig `mapstructure:"logs"` RetrySettings exporterhelper.RetrySettings `mapstructure:"retry_on_failure"` }
type LogConfig ¶ added in v0.59.0
type LogConfig struct { Enabled bool `mapstructure:"enabled"` Projects []*ProjectConfig `mapstructure:"projects"` }
type ProjectConfig ¶ added in v0.59.0
type ProjectContext ¶ added in v0.59.0
type ProjectContext struct { Project mongodbatlas.Project // contains filtered or unexported fields }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.