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

opentelemetry-instrumentation-elasticsearch

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opentelemetry-instrumentation-elasticsearch - npm Package Compare versions

Comparing version 0.27.0 to 0.27.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.27.1](https://github.com/aspecto-io/opentelemetry-ext-js/compare/opentelemetry-instrumentation-elasticsearch@0.27.0...opentelemetry-instrumentation-elasticsearch@0.27.1) (2022-04-13)
**Note:** Version bump only for package opentelemetry-instrumentation-elasticsearch
# [0.27.0](https://github.com/aspecto-io/opentelemetry-ext-js/compare/opentelemetry-instrumentation-elasticsearch@0.26.1...opentelemetry-instrumentation-elasticsearch@0.27.0) (2021-12-27)

@@ -8,0 +16,0 @@

2

dist/src/version.d.ts

@@ -1,2 +0,2 @@

export declare const VERSION = "0.27.0";
export declare const VERSION = "0.27.1";
//# sourceMappingURL=version.d.ts.map

@@ -5,3 +5,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.27.0';
exports.VERSION = '0.27.1';
//# sourceMappingURL=version.js.map

@@ -9,5 +9,5 @@ "use strict";

const chai_1 = require("chai");
const opentelemetry_instrumentation_testing_utils_1 = require("opentelemetry-instrumentation-testing-utils");
const contrib_test_utils_1 = require("@opentelemetry/contrib-test-utils");
const elasticsearch_1 = require("../src/elasticsearch");
const instrumentation = new elasticsearch_1.ElasticsearchInstrumentation();
const instrumentation = contrib_test_utils_1.registerInstrumentationTesting(new elasticsearch_1.ElasticsearchInstrumentation());
const elasticsearch_2 = require("@elastic/elasticsearch");

@@ -40,3 +40,3 @@ const esMockUrl = 'http://localhost:9200';

});
const spans = opentelemetry_instrumentation_testing_utils_1.getTestSpans();
const spans = contrib_test_utils_1.getTestSpans();
chai_1.expect(spans === null || spans === void 0 ? void 0 : spans.length).to.equal(2);

@@ -65,3 +65,3 @@ chai_1.expect(spans[0].attributes).to.deep.equal({

await client.cluster.getSettings();
const spans = opentelemetry_instrumentation_testing_utils_1.getTestSpans();
const spans = contrib_test_utils_1.getTestSpans();
chai_1.expect(spans === null || spans === void 0 ? void 0 : spans.length).to.equal(1);

@@ -82,3 +82,3 @@ chai_1.expect(spans[0].attributes).to.deep.equal({

instrumentation.enable();
const spans = opentelemetry_instrumentation_testing_utils_1.getTestSpans();
const spans = contrib_test_utils_1.getTestSpans();
chai_1.expect(spans === null || spans === void 0 ? void 0 : spans.length).to.equal(0);

@@ -85,0 +85,0 @@ });

{
"name": "opentelemetry-instrumentation-elasticsearch",
"version": "0.27.0",
"version": "0.27.1",
"description": "open telemetry instrumentation for the `elasticsearch` module",

@@ -36,4 +36,4 @@ "keywords": [

"version": "yarn run version:update",
"test": "mocha --require opentelemetry-instrumentation-testing-utils",
"test:jaeger": "OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils",
"test": "mocha --require @opentelemetry/contrib-test-utils",
"test:jaeger": "OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils",
"test-all-versions": "tav",

@@ -56,2 +56,3 @@ "test:ci": "yarn test-all-versions"

"@opentelemetry/api": "^1.0.2",
"@opentelemetry/contrib-test-utils": "^0.28.0",
"@types/chai": "^4.2.15",

@@ -64,3 +65,2 @@ "@types/mocha": "^8.2.2",

"opentelemetry-instrumentation-mocha": "0.0.1-rc.7",
"opentelemetry-instrumentation-testing-utils": "^0.27.0",
"sinon": "^9.2.4",

@@ -81,3 +81,3 @@ "test-all-versions": "^5.0.1",

},
"gitHead": "687393213037496a1105e522b1bc3110b11bd9c1"
"gitHead": "e473527226dc901fc0006df49f729b9137b7323b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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