func DefaultMetricsConfig()

in components/otelopscol/receiver/mongodbreceiver/internal/metadata/generated_config.go [59:140]


func DefaultMetricsConfig() MetricsConfig {
	return MetricsConfig{
		MongodbCacheOperations: MetricConfig{
			Enabled: true,
		},
		MongodbCollectionCount: MetricConfig{
			Enabled: true,
		},
		MongodbConnectionCount: MetricConfig{
			Enabled: true,
		},
		MongodbCursorCount: MetricConfig{
			Enabled: true,
		},
		MongodbCursorTimeoutCount: MetricConfig{
			Enabled: true,
		},
		MongodbDataSize: MetricConfig{
			Enabled: true,
		},
		MongodbDatabaseCount: MetricConfig{
			Enabled: true,
		},
		MongodbDocumentOperationCount: MetricConfig{
			Enabled: true,
		},
		MongodbExtentCount: MetricConfig{
			Enabled: true,
		},
		MongodbGlobalLockTime: MetricConfig{
			Enabled: true,
		},
		MongodbIndexAccessCount: MetricConfig{
			Enabled: true,
		},
		MongodbIndexCount: MetricConfig{
			Enabled: true,
		},
		MongodbIndexSize: MetricConfig{
			Enabled: true,
		},
		MongodbLockAcquireCount: MetricConfig{
			Enabled: false,
		},
		MongodbLockAcquireTime: MetricConfig{
			Enabled: false,
		},
		MongodbLockAcquireWaitCount: MetricConfig{
			Enabled: false,
		},
		MongodbLockDeadlockCount: MetricConfig{
			Enabled: false,
		},
		MongodbMemoryUsage: MetricConfig{
			Enabled: true,
		},
		MongodbNetworkIoReceive: MetricConfig{
			Enabled: true,
		},
		MongodbNetworkIoTransmit: MetricConfig{
			Enabled: true,
		},
		MongodbNetworkRequestCount: MetricConfig{
			Enabled: true,
		},
		MongodbObjectCount: MetricConfig{
			Enabled: true,
		},
		MongodbOperationCount: MetricConfig{
			Enabled: true,
		},
		MongodbOperationTime: MetricConfig{
			Enabled: true,
		},
		MongodbSessionCount: MetricConfig{
			Enabled: true,
		},
		MongodbStorageSize: MetricConfig{
			Enabled: true,
		},
	}
}