mongodbatlasreceiver

package module
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 14 Imported by: 8

README

MongoDB Atlas Receiver

Receives metrics from MongoDB Atlas via their monitoring APIs

Supported pipeline types: metrics

Getting Started

The MongoDB Atlas receiver takes the following parameters. public_key and private_key are the only two required values and are obtained via the "API Keys" tab of the MongoDB Atlas Project Access Manager. In the example below both values are being pulled from the environment.

  • public_key
  • private_key
  • granularity (default PT1M - See MongoDB Atlas Documentation)
  • retry_on_failure
    • enabled (default true)
    • initial_interval (default 5s)
    • max_interval (default 30s)
    • max_elapsed_time (default 5m)

Examples:

receivers:
  mongodbatlas:
    public_key: ${MONGODB_ATLAS_PUBLIC_KEY}
    private_key: ${MONGODB_ATLAS_PRIVATE_KEY}

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 Config

type Config struct {
	scraperhelper.ScraperControllerSettings `mapstructure:",squash"`
	PublicKey                               string `mapstructure:"public_key"`
	PrivateKey                              string `mapstructure:"private_key"`
	Granularity                             string `mapstructure:"granularity"`

	RetrySettings exporterhelper.RetrySettings `mapstructure:"retry_on_failure"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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