File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
packages/compass-connections/src/stores Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -1792,6 +1792,17 @@ const connectWithOptions = (
17921792 ) ;
17931793 }
17941794
1795+ // This is used for Data Explorer connection latency tracing
1796+ log . info (
1797+ mongoLogId ( 1_001_000_006 ) ,
1798+ 'Compass Connection Attempt Succeeded' ,
1799+ 'Connection attempt succeeded' ,
1800+ {
1801+ clusterName : connectionInfo . atlasMetadata ?. clusterName ,
1802+ connectionId : connectionInfo . id ,
1803+ }
1804+ ) ;
1805+
17951806 track (
17961807 'New Connection' ,
17971808 async ( ) => {
@@ -1842,17 +1853,6 @@ const connectWithOptions = (
18421853 connectionInfo
18431854 ) ;
18441855
1845- // This is used for Data Explorer connection latency tracing
1846- log . info (
1847- mongoLogId ( 1_001_000_006 ) ,
1848- 'Compass Connection Attempt Succeeded' ,
1849- 'Connection attempt succeeded' ,
1850- {
1851- clusterName : connectionInfo . atlasMetadata ?. clusterName ,
1852- connectionId : connectionInfo . id ,
1853- }
1854- ) ;
1855-
18561856 connectionProgress . openConnectionSucceededToast ( connectionInfo ) ;
18571857
18581858 // Emit before changing state because some plugins rely on this
You can’t perform that action at this time.
0 commit comments