Discover Packages
github.com/raystack/meteor
plugins
extractors
mongodb
package
Version:
v0.14.0
Opens a new window with list of versions in this module.
Published: Apr 20, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
MongoDB
Extract collection metadata from a MongoDB server.
Usage
source:
name: mongodb
config:
connection_url: mongodb://admin:pass123@localhost:27017
exclude:
databases:
- database_a
- database_b
collections:
- database_c.collection_a
Configuration
Key
Type
Required
Description
connection_url
string
Yes
MongoDB connection URI.
exclude.databases
[]string
No
List of database names to exclude.
exclude.collections
[]string
No
List of collections to exclude, in database.collection format. Default system collections are always excluded.
Entities
Entity type: table
URN format: urn:mongodb:{scope}:collection:{database}.{collection}
Property
Type
Description
properties.profile.total_rows
int
Estimated document count (omitted if zero).
Edges
This extractor does not emit edges.
Contributing
Refer to the contribution guidelines for information on contributing to this module.
Expand ▾
Collapse ▴
Documentation
¶
type Config struct {
ConnectionURL string `json:"connection_url" yaml:"connection_url" mapstructure:"connection_url" validate:"required"`
Exclude Exclude `json:"exclude" yaml:"exclude" mapstructure:"exclude"`
}
Config holds the connection URL for the extractor
type Exclude struct {
Databases []string `json:"databases" yaml:"databases" mapstructure:"databases"`
Collections []string `json:"collections" yaml:"collections" mapstructure:"collections"`
}
type Extractor struct {
}
Extractor manages the communication with the mongo server
New returns a pointer to an initialized Extractor Object
Extract collects metadata of each database through emitter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.