Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
type Options ¶
type Options struct { // ConnectionString is the connection string to the MongoDB database ConnectionString string `yaml:"connection-string"` // CollectionName is the name of the MongoDB collection in which to store the results CollectionName string `yaml:"collection-name"` // OmitRaw excludes the Request and Response from the results (helps with filesize) OmitRaw bool `yaml:"omit-raw"` // BatchSize determines the number of results to be kept in memory before writing it to the database or 0 to // persist all in memory and write all results at the end (default) BatchSize int `yaml:"batch-size"` }
Options contains the configuration options for MongoDB exporter client
Click to show internal directories.
Click to hide internal directories.