File tree Expand file tree Collapse file tree 3 files changed +108
-4
lines changed Expand file tree Collapse file tree 3 files changed +108
-4
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "description" : " Monitoring a discovered standalone connection" ,
3+ "uri" : " mongodb://a:27017/?directConnection=false" ,
4+ "phases" : [
5+ {
6+ "responses" : [
7+ [
8+ " a:27017" ,
9+ {
10+ "ok" : 1 ,
11+ "ismaster" : true ,
12+ "minWireVersion" : 0 ,
13+ "maxWireVersion" : 4
14+ }
15+ ]
16+ ],
17+ "outcome" : {
18+ "events" : [
19+ {
20+ "topology_opening_event" : {
21+ "topologyId" : " 42"
22+ }
23+ },
24+ {
25+ "topology_description_changed_event" : {
26+ "topologyId" : " 42" ,
27+ "previousDescription" : {
28+ "topologyType" : " Unknown" ,
29+ "servers" : []
30+ },
31+ "newDescription" : {
32+ "topologyType" : " Unknown" ,
33+ "servers" : [
34+ {
35+ "address" : " a:27017" ,
36+ "arbiters" : [],
37+ "hosts" : [],
38+ "passives" : [],
39+ "type" : " Unknown"
40+ }
41+ ]
42+ }
43+ }
44+ },
45+ {
46+ "server_opening_event" : {
47+ "topologyId" : " 42" ,
48+ "address" : " a:27017"
49+ }
50+ },
51+ {
52+ "server_description_changed_event" : {
53+ "topologyId" : " 42" ,
54+ "address" : " a:27017" ,
55+ "previousDescription" : {
56+ "address" : " a:27017" ,
57+ "arbiters" : [],
58+ "hosts" : [],
59+ "passives" : [],
60+ "type" : " Unknown"
61+ },
62+ "newDescription" : {
63+ "address" : " a:27017" ,
64+ "arbiters" : [],
65+ "hosts" : [],
66+ "passives" : [],
67+ "type" : " Standalone"
68+ }
69+ }
70+ },
71+ {
72+ "topology_description_changed_event" : {
73+ "topologyId" : " 42" ,
74+ "previousDescription" : {
75+ "topologyType" : " Unknown" ,
76+ "servers" : [
77+ {
78+ "address" : " a:27017" ,
79+ "arbiters" : [],
80+ "hosts" : [],
81+ "passives" : [],
82+ "type" : " Unknown"
83+ }
84+ ]
85+ },
86+ "newDescription" : {
87+ "topologyType" : " Single" ,
88+ "servers" : [
89+ {
90+ "address" : " a:27017" ,
91+ "arbiters" : [],
92+ "hosts" : [],
93+ "passives" : [],
94+ "type" : " Standalone"
95+ }
96+ ]
97+ }
98+ }
99+ }
100+ ]
101+ }
102+ }
103+ ]
104+ }
Original file line number Diff line number Diff line change 11{
2- "description" : " Monitoring a standalone connection" ,
3- "uri" : " mongodb://a:27017" ,
2+ "description" : " Monitoring a direct connection" ,
3+ "uri" : " mongodb://a:27017/?directConnection=true " ,
44 "phases" : [
55 {
66 "responses" : [
Original file line number Diff line number Diff line change 11{
2- "description" : " Monitoring a standalone connection - suppress update events for equal server descriptions" ,
3- "uri" : " mongodb://a:27017" ,
2+ "description" : " Monitoring a direct connection - suppress update events for equal server descriptions" ,
3+ "uri" : " mongodb://a:27017/?directConnection=true " ,
44 "phases" : [
55 {
66 "responses" : [
You can’t perform that action at this time.
0 commit comments