prometheus-mongodb-adapter

command module
v0.0.0-...-f619552 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2018 License: MIT Imports: 4 Imported by: 0

README

prometheus-mongodb-adapter: Prometheus remote storage adapter implementation for MongoDB

Now under development

Features & TODO

  • Prometheus remote storage adapter implementation for MongoDB
  • Long-Term Storage
  • Prometheus 1.8 support
  • Prometheus 2.1 support
  • MongoDB 3.0 support
  • MongoDB 3.2 support
  • MongoDB 3.4 support
  • MongoDB 3.6 support
  • MongoDB 3.7 support
  • Secure MongoDB support (tls connection)
  • Azure CosmosDB MongoDB API support
  • Unit test
  • Add Index

Getting Started

Docker
docker run -it \
    --name prometheus-mongodb-adapter \
    -p 8080:8080 \
    sasuraiossan/prometheus-mongodb-adapter
go get
# TODO

Configuration

$ prometheus-mongodb-adapter --help                                                  
NAME:
   prometheus-mongodb-adapter

OPTIONS:
   --mongo-url value, -m value   (default: "mongodb://localhost:27017/prometheus") [$MONGO_URL]
   --database value, -d value    (default: "prometheus") [$DATABASE_NAME]
   --collection value, -c value  (default: "prometheus") [$COLLECTION_NAME]
   --address value, -a value     (default: "0.0.0.0:8080") [$LISTEN_ADDRESS]
   --help, -h                    show help
   --version, -v                 print the version

If database name is included in mongo-url, databse argument is ignored.

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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