mongodb

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	URI                      alloytypes.Secret `alloy:"mongodb_uri,attr"`
	CompatibleMode           bool              `alloy:"compatible_mode,attr,optional"`
	CollectAll               bool              `alloy:"collect_all,attr,optional"`
	DirectConnect            bool              `alloy:"direct_connect,attr,optional"`
	DiscoveringMode          bool              `alloy:"discovering_mode,attr,optional"`
	EnableDBStats            bool              `alloy:"enable_db_stats,attr,optional"`
	EnableDBStatsFreeStorage bool              `alloy:"enable_db_stats_free_storage,attr,optional"`
	EnableDiagnosticData     bool              `alloy:"enable_diagnostic_data,attr,optional"`
	EnableReplicasetStatus   bool              `alloy:"enable_replicaset_status,attr,optional"`
	EnableReplicasetConfig   bool              `alloy:"enable_replicaset_config,attr,optional"`
	EnableCurrentopMetrics   bool              `alloy:"enable_currentop_metrics,attr,optional"`
	EnableTopMetrics         bool              `alloy:"enable_top_metrics,attr,optional"`
	EnableIndexStats         bool              `alloy:"enable_index_stats,attr,optional"`
	EnableCollStats          bool              `alloy:"enable_coll_stats,attr,optional"`
	EnableProfile            bool              `alloy:"enable_profile,attr,optional"`
	EnableShards             bool              `alloy:"enable_shards,attr,optional"`
	EnableFCV                bool              `alloy:"enable_fcv,attr,optional"`
	EnablePBMMetrics         bool              `alloy:"enable_pbm_metrics,attr,optional"`
}

func (*Arguments) Convert

func (a *Arguments) Convert() *mongodb_exporter.Config

func (*Arguments) SetToDefault added in v1.9.0

func (a *Arguments) SetToDefault()

SetToDefault sets the default values for the Arguments.

Jump to

Keyboard shortcuts

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