elastic-apm-http-client
Advanced tools
Comparing version 9.4.2 to 9.4.3
@@ -453,3 +453,3 @@ 'use strict' | ||
req.setTimeout(client._conf.serverTimeout, function () { | ||
req.abort() | ||
req.destroy(new Error(`APM Server response timeout (${client._conf.serverTimeout}ms)`)) | ||
}) | ||
@@ -624,2 +624,6 @@ } | ||
if (opts.cloudMetadata) { | ||
payload.cloud = Object.assign({}, opts.cloudMetadata) | ||
} | ||
return payload | ||
@@ -626,0 +630,0 @@ } |
@@ -60,2 +60,41 @@ 'use strict' | ||
break | ||
case 'cloud': | ||
switch (path[1]) { | ||
case 'availability_zone': | ||
case 'provider': | ||
case 'region': | ||
max = opts.truncateKeywordsAt | ||
break | ||
case 'account': | ||
switch (path[2]) { | ||
case 'id': | ||
case 'name': | ||
max = opts.truncateKeywordsAt | ||
break | ||
} | ||
break | ||
case 'instance': | ||
switch (path[2]) { | ||
case 'id': | ||
case 'name': | ||
max = opts.truncateKeywordsAt | ||
break | ||
} | ||
break | ||
case 'machine': | ||
switch (path[2]) { | ||
case 'type': | ||
max = opts.truncateKeywordsAt | ||
break | ||
} | ||
break | ||
case 'project': | ||
switch (path[2]) { | ||
case 'id': | ||
case 'name': | ||
max = opts.truncateKeywordsAt | ||
break | ||
} | ||
} | ||
break | ||
} | ||
@@ -62,0 +101,0 @@ |
{ | ||
"name": "elastic-apm-http-client", | ||
"version": "9.4.2", | ||
"version": "9.4.3", | ||
"description": "A low-level HTTP client for communicating with the Elastic APM intake API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# elastic-apm-http-client | ||
[![npm](https://img.shields.io/npm/v/elastic-apm-http-client.svg)](https://www.npmjs.com/package/elastic-apm-http-client) | ||
[![Build status in Travis](https://travis-ci.org/elastic/apm-nodejs-http-client.svg?branch=master)](https://travis-ci.org/elastic/apm-nodejs-http-client) | ||
[![Test status in Travis](https://github.com/elastic/apm-nodejs-http-client/workflows/Test/badge.svg)](https://github.com/elastic/apm-nodejs-http-client/actions) | ||
[![Build Status in Jenkins](https://apm-ci.elastic.co/buildStatus/icon?job=apm-agent-nodejs%2Fapm-nodejs-http-client-mbp%2Fmaster)](https://apm-ci.elastic.co/job/apm-agent-nodejs/job/apm-nodejs-http-client-mbp/job/master/) | ||
[![codecov](https://img.shields.io/codecov/c/github/elastic/apm-nodejs-http-client.svg)](https://codecov.io/gh/elastic/apm-nodejs-http-client) | ||
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) | ||
@@ -9,0 +8,0 @@ A low-level HTTP client for communicating with the Elastic APM intake |
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
46363
995
310