Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
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"` Mode string `mapstructure:"mode"` // these parameters are only relevant in retrieval mode Projects []*ProjectConfig `mapstructure:"projects"` PollInterval time.Duration `mapstructure:"poll_interval"` PageSize int64 `mapstructure:"page_size"` MaxPages int64 `mapstructure:"max_pages"` }
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"` Events *EventsConfig `mapstructure:"events"` Logs LogConfig `mapstructure:"logs"` RetrySettings exporterhelper.RetrySettings `mapstructure:"retry_on_failure"` StorageID *component.ID `mapstructure:"storage"` }
type EventsConfig ¶ added in v0.71.0
type EventsConfig struct { Projects []*ProjectConfig `mapstructure:"projects"` PollInterval time.Duration `mapstructure:"poll_interval"` Types []string `mapstructure:"types"` PageSize int64 `mapstructure:"page_size"` MaxPages int64 `mapstructure:"max_pages"` }
EventsConfig is the configuration options for events collection
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.