mongodb

package
v5.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mongodb is a Metricbeat module that contains MetricSets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvHost

func GetEnvHost() string

GetEnvHost returns the hostname of the Mongodb server to use for testing. It reads the value from the MONGODB_HOST environment variable and returns 127.0.0.1 if it is not set.

func GetEnvPort

func GetEnvPort() string

GetMongodbEnvPort returns the port of the Mongodb server to use for testing. It reads the value from the MONGODB_PORT environment variable and returns 27017 if it is not set.

func NewModule

func NewModule(base mb.BaseModule) (mb.Module, error)

func ParseURL

func ParseURL(module mb.Module, host string) (mb.HostData, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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