We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e78981 commit d0dbb46Copy full SHA for d0dbb46
1 file changed
lib/agent/api/index.js
@@ -107,7 +107,7 @@ CollectorApi.prototype.sendApmMetrics = function (data) {
107
}
108
109
CollectorApi.prototype.sendExternalEdgeMetrics = function (data) {
110
- if (isNaN(this.serviceKey)) {
+ if (!isNumber(this.serviceKey)) {
111
debug('Service id not present, cannot send metrics')
112
return
113
@@ -117,7 +117,7 @@ CollectorApi.prototype.sendExternalEdgeMetrics = function (data) {
117
118
119
CollectorApi.prototype.sendIncomingEdgeMetrics = function (data) {
120
121
122
123
0 commit comments