Advertisement
Guest User

APM-NodeJS-Agent-Log

a guest
Jun 4th, 2020
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.18 KB | None | 0 0
  1. [Node] [nodemon] starting `node dist/src/server.js`
  2. [Node] Using .env file to supply config environment variables
  3. [Node] {"message":"Logging initialized at debug level","level":"debug"}
  4. [Node] {"message":"Attempting to connect to Elastic at: https://test-apm-server:8200","level":"debug"}
  5. [Node] agent configured correctly {
  6. [Node] pid: 43864,
  7. [Node] ppid: 15488,
  8. [Node] arch: 'x64',
  9. [Node] platform: 'win32',
  10. [Node] node: 'v12.14.1',
  11. [Node] agent: '3.6.1',
  12. [Node] ancestors: [
  13. [Node] 'C:\\chandra\\nodejs-apps\\ts-node-template\\node_modules\\elastic-apm-node\\index.js',
  14. [Node] 'C:\\chandra\\nodejs-apps\\ts-node-template\\dist\\src\\app.js',
  15. [Node] 'C:\\chandra\\nodejs-apps\\ts-node-template\\dist\\src\\inversify.config.js',
  16. [Node] 'C:\\chandra\\nodejs-apps\\ts-node-template\\dist\\src\\server.js',
  17. [Node] [length]: 4
  18. [Node] ],
  19. [Node] startTrace: [
  20. [Node] 'at Agent.start (C:\\chandra\\nodejs-apps\\ts-node-template\\node_modules\\elastic-apm-node\\lib\\agent.js:154:11)',
  21. [Node] 'at new App (C:\\chandra\\nodejs-apps\\ts-node-template\\dist\\src\\app.js:34:36)',
  22. [Node] 'at _createInstance (C:\\chandra\\nodejs-apps\\ts-node-template\\node_modules\\inversify\\lib\\resolution\\instantiation.js:21:12)',
  23. [Node] 'at Object.resolveInstance (C:\\chandra\\nodejs-apps\\ts-node-template\\node_modules\\inversify\\lib\\resolution\\instantiation.js:41:18)',
  24. [Node] 'at C:\\chandra\\nodejs-apps\\ts-node-template\\node_modules\\inversify\\lib\\resolution\\resolver.js:72:42',
  25. [Node] 'at Object.resolve (C:\\chandra\\nodejs-apps\\ts-node-template\\node_modules\\inversify\\lib\\resolution\\resolver.js:96:12)',
  26. [Node] 'at C:\\chandra\\nodejs-apps\\ts-node-template\\node_modules\\inversify\\lib\\container\\container.js:319:37',
  27. [Node] 'at Container._get (C:\\chandra\\nodejs-apps\\ts-node-template\\node_modules\\inversify\\lib\\container\\container.js:310:44)',
  28. [Node] 'at Container.get (C:\\chandra\\nodejs-apps\\ts-node-template\\node_modules\\inversify\\lib\\container\\container.js:230:21)',
  29. [Node] 'at Object.<anonymous> (C:\\chandra\\nodejs-apps\\ts-node-template\\dist\\src\\server.js:15:45)',
  30. [Node] 'at Module._compile (internal/modules/cjs/loader.js:955:30)',
  31. [Node] 'at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)',
  32. [Node] 'at Module.load (internal/modules/cjs/loader.js:811:32)',
  33. [Node] 'at Function.Module._load (internal/modules/cjs/loader.js:723:14)',
  34. [Node] 'at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)',
  35. [Node] 'at internal/main/run_main_module.js:17:11',
  36. [Node] [length]: 16
  37. [Node] ],
  38. [Node] main: undefined,
  39. [Node] dependencies: undefined,
  40. [Node] conf: Config {
  41. [Node] ignoreUrlStr: [ [length]: 0 ],
  42. [Node] ignoreUrlRegExp: [ [length]: 0 ],
  43. [Node] ignoreUserAgentStr: [ [length]: 0 ],
  44. [Node] ignoreUserAgentRegExp: [ [length]: 0 ],
  45. [Node] abortedErrorThreshold: 25,
  46. [Node] active: true,
  47. [Node] addPatch: undefined,
  48. [Node] apiRequestSize: 786432,
  49. [Node] apiRequestTime: 10,
  50. [Node] asyncHooks: true,
  51. [Node] breakdownMetrics: true,
  52. [Node] captureBody: 'off',
  53. [Node] captureErrorLogStackTraces: 'messages',
  54. [Node] captureExceptions: true,
  55. [Node] captureHeaders: true,
  56. [Node] captureSpanStackTraces: true,
  57. [Node] centralConfig: true,
  58. [Node] containerId: undefined,
  59. [Node] disableInstrumentations: [ [length]: 0 ],
  60. [Node] environment: 'local',
  61. [Node] errorMessageMaxLength: 2048,
  62. [Node] errorOnAbortedRequests: false,
  63. [Node] filterHttpHeaders: true,
  64. [Node] globalLabels: undefined,
  65. [Node] instrument: true,
  66. [Node] instrumentIncomingHTTPRequests: true,
  67. [Node] kubernetesNamespace: undefined,
  68. [Node] kubernetesNodeName: undefined,
  69. [Node] kubernetesPodName: undefined,
  70. [Node] kubernetesPodUID: undefined,
  71. [Node] logLevel: 'trace',
  72. [Node] logUncaughtExceptions: false,
  73. [Node] metricsInterval: 30,
  74. [Node] metricsLimit: 1000,
  75. [Node] serviceNodeName: undefined,
  76. [Node] serverTimeout: 30,
  77. [Node] sourceLinesErrorAppFrames: 5,
  78. [Node] sourceLinesErrorLibraryFrames: 5,
  79. [Node] sourceLinesSpanAppFrames: 0,
  80. [Node] sourceLinesSpanLibraryFrames: 0,
  81. [Node] stackTraceLimit: 50,
  82. [Node] transactionMaxSpans: 500,
  83. [Node] transactionSampleRate: 1,
  84. [Node] useElasticTraceparentHeader: true,
  85. [Node] usePathAsTransactionName: false,
  86. [Node] verifyServerCert: false,
  87. [Node] secretToken: 'ApmS3cretT0k3n',
  88. [Node] serverUrl: 'https://test-apm-server:8200',
  89. [Node] serviceName: 'chandra-test',
  90. [Node] serviceVersion: '0.1.0',
  91. [Node] logger: {
  92. [Node] trace: [Function: log] {
  93. [Node] [length]: 0,
  94. [Node] [name]: 'log',
  95. [Node] [prototype]: log { [constructor]: [Circular] }
  96. [Node] },
  97. [Node] debug: [Function: log] {
  98. [Node] [length]: 0,
  99. [Node] [name]: 'log',
  100. [Node] [prototype]: log { [constructor]: [Circular] }
  101. [Node] },
  102. [Node] info: [Function: log] {
  103. [Node] [length]: 0,
  104. [Node] [name]: 'log',
  105. [Node] [prototype]: log { [constructor]: [Circular] }
  106. [Node] },
  107. [Node] warn: [Function: log] {
  108. [Node] [length]: 0,
  109. [Node] [name]: 'log',
  110. [Node] [prototype]: log { [constructor]: [Circular] }
  111. [Node] },
  112. [Node] error: [Function: log] {
  113. [Node] [length]: 0,
  114. [Node] [name]: 'log',
  115. [Node] [prototype]: log { [constructor]: [Circular] }
  116. [Node] },
  117. [Node] fatal: [Function: log] {
  118. [Node] [length]: 0,
  119. [Node] [name]: 'log',
  120. [Node] [prototype]: log { [constructor]: [Circular] }
  121. [Node] }
  122. [Node] },
  123. [Node] transport: [Function: httpTransport] {
  124. [Node] [length]: 2,
  125. [Node] [name]: 'httpTransport',
  126. [Node] [prototype]: httpTransport { [constructor]: [Circular] }
  127. [Node] },
  128. [Node] serverHost: 'apm.dev.sae.cloud:8200',
  129. [Node] serverPort: 8200
  130. [Node] }
  131. [Node] }
  132. [Node] adding hook to Node.js module loader
  133. [Node] {"message":"dev","level":"debug"}
  134. [Node] {"message":"Attempting to ping Elastic","level":"debug"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement