-
Notifications
You must be signed in to change notification settings - Fork 22
/
ast_mongo.conf
68 lines (68 loc) · 2.14 KB
/
ast_mongo.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
;==========================================
;
; ast_mongo.conf
;
[common]
;------------------------------------------
; MongoDB C Driver - Logging configuration
; see http://mongoc.org/libmongoc/current/logging.html in detail
;
; -1 = disable logging of mongodb-c-driver
; 0 = MONGOC_LOG_LEVEL_ERROR,
; 1,2,...,
; 6 = MONGOC_LOG_LEVEL_TRACE
; default is -1
;mongoc_log_level=-1
;------------------------------------------
; MongoDB C Driver - APM configuration
; see http://mongoc.org/libmongoc/current/application-performance-monitoring.html in detail
;
; 0 = disable monitoring
; 0 != enable monitoring
; default is 0
;apm_command_monitoring=0
;apm_sdam_monitoring=0
;==========================================
;
; for realtime configuration engine plugin
;
[config]
; 'uri' is MongoDB connection URI
; e.g. uri=mongodb://myTester:[email protected]/asterisk.
; see https://docs.mongodb.com/manual/reference/connection-string/ as well
uri=mongodb://ast_mongo1.local,ast_mongo2.local,ast_mongo3.local/asterisk?replicaSet=ast_mongo_set&readPreference=nearest&slaveOk=true
;------------------------------------------
; 0 != enable APM
; default is disabled (0)
;apm=0
;==========================================
;
; for cdr plugin
;
[cdr]
; 'uri' is MongoDB connection URI
; e.g. uri=mongodb://myTester:[email protected]/cdr.
; see https://docs.mongodb.com/manual/reference/connection-string/ as well
uri=mongodb://ast_mongo1.local,ast_mongo2.local,ast_mongo3.local/cdr?replicaSet=ast_mongo_set&readPreference=nearest&slaveOk=true
database=cdr
collection=cdr
;------------------------------------------
; 0 != enable APM
; default is disabled (0)
;apm=0
;==========================================
;
; for cel plugin
;
[cel]
; 'uri' is MongoDB connection URI
; e.g. uri=mongodb://myTester:[email protected]/cel.
; see https://docs.mongodb.com/manual/reference/connection-string/ as well
uri=mongodb://ast_mongo1.local,ast_mongo2.local,ast_mongo3.local/cel?replicaSet=ast_mongo_set&readPreference=nearest&slaveOk=true
database=cel
collection=cel
;------------------------------------------
; 0 != enable APM
; default is disabled (0)
;apm=0
;==========================================