package
0.11.0
Repository: https://github.com/raystack/meteor.git
Documentation: pkg.go.dev

# README

mongodb

Usage

source:
  name: mongodb
  config:
    connection_url: mongodb://admin:pass123@localhost:3306
    exclude:
      databases:
        - database_a
        - database_b
      collections:
        - database_c.collection_a

Inputs

KeyValueExampleDescription
connection_urlstringmongodb://admin:pass123@localhost:3306URL to access the mongodb serverrequired
exclude.databases[]string[database_a, database_b]List of databases to be excludedoptional
exclude.collections[]string[database_c.collection_a, database_c.collection_b]List of collections to be excludedoptional

Outputs

FieldSample Value
resource.urnmy_database.my_collection
resource.namemy_collection
resource.servicemongodb
descriptiontable description
profile.total_rows2100

Contributing

Refer to the contribution guidelines for information on contributing to this module.

# Functions

New returns a pointer to an initialized Extractor Object.

# Structs

Config holds the connection URL for the extractor.
No description provided by the author
Extractor manages the communication with the mongo server.