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
1
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 2.0.0 to 2.0.1

2

index.js

@@ -26,3 +26,3 @@ 'use strict'

transport: opts.apiHttps ? require('https') : http,
path: '/v1/'
path: '/'
}

@@ -29,0 +29,0 @@ }

{
"name": "elastic-apm-http-client",
"version": "2.0.0",
"version": "2.0.1",
"description": "A low-level HTTP client for communicating with the Elastic APM intake API",

@@ -38,5 +38,5 @@ "main": "index.js",

"coordinates": [
55.6811401,
12.5645535
55.6809998,
12.5644689
]
}

@@ -61,3 +61,3 @@ # elastic-apm-http-client

The Elastic APM intake API v1 currently support the following endpoints:
The Elastic APM intake API currently support the following endpoints:

@@ -70,3 +70,3 @@ - `errors`

```
http://localhost:8080/v1/<endpoint>
http://localhost:8080/<endpoint>
```

@@ -73,0 +73,0 @@

@@ -39,3 +39,3 @@ 'use strict'

.matchHeader('User-Agent', 'foo elastic-apm-http-client/' + require('./package').version)
.post('/v1/endpoint', function (body) {
.post('/endpoint', function (body) {
t.equal(body, buffer.toString('hex'))

@@ -58,3 +58,3 @@ return true

var scope = nock('http://localhost:8080')
.post('/v1/endpoint', function (body) {
.post('/endpoint', function (body) {
t.equal(body, buffer.toString('hex'))

@@ -78,3 +78,3 @@ return true

.matchHeader('X-Foo', 'bar')
.post('/v1/endpoint', function (body) {
.post('/endpoint', function (body) {
t.equal(body, buffer.toString('hex'))

@@ -81,0 +81,0 @@ return true

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