Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elastic-apm-http-client

Package Overview
Dependencies
Maintainers
3
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elastic-apm-http-client - npm Package Compare versions

Comparing version 9.4.2 to 9.4.3

6

index.js

@@ -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 @@

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc