mongodb-query-logs
dasmeta/mongodb-query-logs/any
Terraform Module to Dump Info About Slow MongoDB Queries into Logs
Install
README
Mongodb Slow Query Monitoring Pulling and logging slow queries from mongodb. Container will regularely query mongodb for slow queries using db.currentOp() and dump info into log. Those logs then can be captured and monitored using whatever monitoring tool you use. ``hcl module mongodb-query-logs { source = "dasmeta/mongodb-query-logs/any" version = "0.1.1" #update version mongodb-host = "localhost" mongodb-port = "27017" mongodb-database = "admin" mongodb-username = "root" mongodb-password = "root" log-interval = "30" limit = "-1" } ` Requirements | Name | Version | |------|---------| | helm | ~> 2.5.1 | Providers No providers. Modules | Name | Source | Version | |------|--------|---------| | release | terraform-module/release/helm | 2.6.0 | Resources No resources. Inputs | Name | Descript
Inputs (7)
| Name | Type | Description | Default |
|---|---|---|---|
| mongodb-username | string | Mongodb user. | required |
| mongodb-password | string | Mongodb password. | required |
| mongodb-port | string | Mongodb port. | "27017" |
| limit | string | "json" | |
| log-interval | string | aws-default-region. | "30" |
| mongodb-host | string | Mongodb host. | "localhost" |
| mongodb-database | string | Mongodb database. | "" |
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,