elastic-apm-http-client
Advanced tools
Comparing version 8.1.0 to 8.1.1
@@ -172,3 +172,3 @@ 'use strict' | ||
res.statusCode === 403 || // Central config not enabled in APM Server | ||
res.statusCode === 404 // No config for the given service.name / service.environment | ||
res.statusCode === 404 // Old APM Server that doesn't support central config | ||
) { | ||
@@ -183,3 +183,3 @@ res.resume() | ||
if (res.statusCode === 200) { | ||
// 200: New config available | ||
// 200: New config available (or no config for the given service.name / service.environment) | ||
const etag = res.headers['etag'] | ||
@@ -186,0 +186,0 @@ if (etag) this._conf.lastConfigEtag = etag |
{ | ||
"name": "elastic-apm-http-client", | ||
"version": "8.1.0", | ||
"version": "8.1.1", | ||
"description": "A low-level HTTP client for communicating with the Elastic APM intake API", | ||
@@ -53,5 +53,5 @@ "main": "index.js", | ||
"coordinates": [ | ||
55.6819147, | ||
12.5720135 | ||
55.695094, | ||
12.547834 | ||
] | ||
} |
@@ -164,2 +164,7 @@ # elastic-apm-http-client | ||
If no central configuration is set up for the given `serviceName` / | ||
`environment` when the client is started, this event will be emitted | ||
once with an empty object. This will also happen after central | ||
configuration for the given `serviceName` / `environment` is deleted. | ||
### Event: `close` | ||
@@ -166,0 +171,0 @@ |
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
306
42678
6