-
Notifications
You must be signed in to change notification settings - Fork 3
Available triggers
Lujeni edited this page Aug 2, 2015
·
12 revisions
- same file to configure your triggers:
/path/to/setting.py
- all trigger need an
threshold
directive to be enabled.
- Send a signal to mongodb to terminates an operation.
triggers = {
'killer': {'threshold': 120}
}
- Insert the slow operation in another database through bulk insert.
- Index is created on the
opid
field. - parameters:
- database
- collection
triggers = {
'mongodb': {
'threshold': 60,
'database': 'mongoop',
'collection': 'history'
}
}