elastic-apm-http-client
Advanced tools
Comparing version 9.2.0 to 9.2.1
@@ -78,2 +78,3 @@ 'use strict' | ||
this._configTimer = null | ||
this._encodedMetadata = null | ||
@@ -155,2 +156,4 @@ switch (this._conf.serverUrl.protocol.slice(0, -1)) { // 'http:' => 'http' | ||
this._conf.requestConfig = getConfigRequestOptions(this._conf, this._agent) | ||
this._conf.metadata = getMetadata(this._conf) | ||
} | ||
@@ -496,3 +499,6 @@ | ||
// All requests to the APM Server must start with a metadata object | ||
stream.write(client._encode({ metadata: getMetadata(client._conf) }, Client.encoding.METADATA)) | ||
if (!client._encodedMetadata) { | ||
client._encodedMetadata = client._encode({ metadata: client._conf.metadata }, Client.encoding.METADATA) | ||
} | ||
stream.write(client._encodedMetadata) | ||
} | ||
@@ -499,0 +505,0 @@ } |
{ | ||
"name": "elastic-apm-http-client", | ||
"version": "9.2.0", | ||
"version": "9.2.1", | ||
"description": "A low-level HTTP client for communicating with the Elastic APM intake API", | ||
@@ -53,5 +53,5 @@ "main": "index.js", | ||
"coordinates": [ | ||
55.778261, | ||
12.593028 | ||
55.778274, | ||
12.593031 | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44066
919