elastic-apm-http-client
Advanced tools
Comparing version 7.3.0 to 8.0.0
@@ -121,2 +121,3 @@ 'use strict' | ||
if (!this._conf.hostname) this._conf.hostname = hostname | ||
if (!this._conf.environment) this._conf.environment = process.env.NODE_ENV || 'development' | ||
if (!this._conf.truncateKeywordsAt) this._conf.truncateKeywordsAt = 1024 | ||
@@ -470,2 +471,3 @@ if (!this._conf.truncateErrorMessagesAt) this._conf.truncateErrorMessagesAt = 2048 | ||
name: opts.serviceName, | ||
environment: opts.environment, | ||
runtime: { | ||
@@ -472,0 +474,0 @@ name: process.release.name, |
{ | ||
"name": "elastic-apm-http-client", | ||
"version": "7.3.0", | ||
"version": "8.0.0", | ||
"description": "A low-level HTTP client for communicating with the Elastic APM intake API", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"pump": "^3.0.0", | ||
"readable-stream": "^3.2.0", | ||
"readable-stream": "^3.4.0", | ||
"stream-chopper": "^3.0.1", | ||
@@ -31,9 +31,9 @@ "unicode-byte-truncate": "^1.0.0" | ||
"devDependencies": { | ||
"codecov": "^3.2.0", | ||
"codecov": "^3.5.0", | ||
"https-pem": "^2.0.0", | ||
"ndjson": "^1.5.0", | ||
"nyc": "^13.3.0", | ||
"semver": "^5.6.0", | ||
"nyc": "^14.1.1", | ||
"semver": "^6.1.1", | ||
"standard": "^12.0.1", | ||
"tape": "^4.10.1" | ||
"tape": "^4.10.2" | ||
}, | ||
@@ -55,5 +55,5 @@ "repository": { | ||
"coordinates": [ | ||
55.778257, | ||
12.593128 | ||
55.6819147, | ||
12.5720135 | ||
] | ||
} |
@@ -70,2 +70,3 @@ # elastic-apm-http-client | ||
- `hostname` - Custom hostname (default: OS hostname) | ||
- `environment` - Environment name (default: `process.env.NODE_ENV || 'development'`) | ||
- `containerId` - Docker container id, if not given will be parsed from `/proc/self/cgroup` | ||
@@ -72,0 +73,0 @@ - `kubernetesNodeName` - Kubernetes node name |
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
280
2
37811
6
763
2
Updatedreadable-stream@^3.4.0