You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/agent/api/index.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ CollectorApi.prototype._send = function (destinationUrl, data) {
79
79
debug('sending data to trace servers: ',destinationUrl,payload)
80
80
81
81
req.on('error',function(error){
82
-
console.error('error: [trace]','There was an error connecting to the Trace servers. Make sure your servers can reach trace-collector-api.risingstack.com')
82
+
console.error('error: [trace]','There was an error connecting to the Trace servers. Make sure your servers can reach',opts.hostname)
83
83
debug('error connecting to the Trace servers',error)
84
84
})
85
85
req.write(payload)
@@ -237,7 +237,7 @@ CollectorApi.prototype.getService = function (cb) {
237
237
debug('getting serviceKey with payload:',payload)
238
238
239
239
req.on('error',function(error){
240
-
console.error('error: [trace]','There was an error connecting to the Trace servers. Make sure your servers can reach trace-collector-api.risingstack.com')
240
+
console.error('error: [trace]','There was an error connecting to the Trace servers. Make sure your servers can reach',opts.hostname)
241
241
debug('error connecting to the Trace servers',error)
0 commit comments