@opentelemetry/tracing
Advanced tools
Comparing version 0.21.1-alpha.7 to 0.22.1-alpha.5
@@ -25,3 +25,3 @@ /* | ||
var merge = require('lodash.merge'); | ||
import { BatchSpanProcessor } from './export/BatchSpanProcessor'; | ||
import { BatchSpanProcessor } from './platform'; | ||
export var ForceFlushState; | ||
@@ -28,0 +28,0 @@ (function (ForceFlushState) { |
export * from './Tracer'; | ||
export * from './BasicTracerProvider'; | ||
export * from './platform'; | ||
export * from './export/ConsoleSpanExporter'; | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './export/InMemorySpanExporter'; | ||
@@ -6,0 +6,0 @@ export * from './export/ReadableSpan'; |
@@ -18,4 +18,4 @@ /* | ||
export * from './BasicTracerProvider'; | ||
export * from './platform'; | ||
export * from './export/ConsoleSpanExporter'; | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './export/InMemorySpanExporter'; | ||
@@ -22,0 +22,0 @@ export * from './export/ReadableSpan'; |
@@ -63,2 +63,8 @@ import { TextMapPropagator, Sampler } from '@opentelemetry/api'; | ||
} | ||
/** Interface configuration for BatchSpanProcessor on browser */ | ||
export interface BatchSpanProcessorBrowserConfig extends BufferConfig { | ||
/** Disable flush when a user navigates to a new page, closes the tab or the browser, or, | ||
* on mobile, switches to a different app. Auto flush is enabled by default. */ | ||
disableAutoFlushOnDocumentHide?: boolean; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.21.0"; | ||
export declare const VERSION = "0.22.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '0.21.0'; | ||
export var VERSION = '0.22.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -28,3 +28,3 @@ "use strict"; | ||
const merge = require('lodash.merge'); | ||
const BatchSpanProcessor_1 = require("./export/BatchSpanProcessor"); | ||
const platform_1 = require("./platform"); | ||
var ForceFlushState; | ||
@@ -53,3 +53,3 @@ (function (ForceFlushState) { | ||
if (defaultExporter !== undefined) { | ||
const batchProcessor = new BatchSpanProcessor_1.BatchSpanProcessor(defaultExporter); | ||
const batchProcessor = new platform_1.BatchSpanProcessor(defaultExporter); | ||
this.activeSpanProcessor = batchProcessor; | ||
@@ -56,0 +56,0 @@ } |
export * from './Tracer'; | ||
export * from './BasicTracerProvider'; | ||
export * from './platform'; | ||
export * from './export/ConsoleSpanExporter'; | ||
export * from './export/BatchSpanProcessor'; | ||
export * from './export/InMemorySpanExporter'; | ||
@@ -6,0 +6,0 @@ export * from './export/ReadableSpan'; |
@@ -30,4 +30,4 @@ "use strict"; | ||
__exportStar(require("./BasicTracerProvider"), exports); | ||
__exportStar(require("./platform"), exports); | ||
__exportStar(require("./export/ConsoleSpanExporter"), exports); | ||
__exportStar(require("./export/BatchSpanProcessor"), exports); | ||
__exportStar(require("./export/InMemorySpanExporter"), exports); | ||
@@ -34,0 +34,0 @@ __exportStar(require("./export/ReadableSpan"), exports); |
@@ -63,2 +63,8 @@ import { TextMapPropagator, Sampler } from '@opentelemetry/api'; | ||
} | ||
/** Interface configuration for BatchSpanProcessor on browser */ | ||
export interface BatchSpanProcessorBrowserConfig extends BufferConfig { | ||
/** Disable flush when a user navigates to a new page, closes the tab or the browser, or, | ||
* on mobile, switches to a different app. Auto flush is enabled by default. */ | ||
disableAutoFlushOnDocumentHide?: boolean; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.21.0"; | ||
export declare const VERSION = "0.22.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.21.0'; | ||
exports.VERSION = '0.22.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/tracing", | ||
"version": "0.21.1-alpha.7+77502820", | ||
"version": "0.22.1-alpha.5+7860344e", | ||
"description": "OpenTelemetry Tracing", | ||
@@ -17,3 +17,3 @@ "main": "build/src/index.js", | ||
"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", | ||
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts' --exclude 'test/index-webpack.ts'", | ||
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts' --exclude 'test/browser/**/*.ts'", | ||
"test:browser": "nyc karma start --single-run", | ||
@@ -57,3 +57,3 @@ "tdd": "npm run tdd:node", | ||
"devDependencies": { | ||
"@opentelemetry/api": "^0.21.0", | ||
"@opentelemetry/api": "^1.0.0", | ||
"@types/lodash.merge": "4.6.6", | ||
@@ -83,11 +83,11 @@ "@types/mocha": "8.2.2", | ||
"peerDependencies": { | ||
"@opentelemetry/api": "^0.21.0" | ||
"@opentelemetry/api": "^1.0.0" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/core": "^0.21.1-alpha.7+77502820", | ||
"@opentelemetry/resources": "^0.21.1-alpha.7+77502820", | ||
"@opentelemetry/semantic-conventions": "^0.21.1-alpha.7+77502820", | ||
"@opentelemetry/core": "^0.22.1-alpha.5+7860344e", | ||
"@opentelemetry/resources": "^0.22.1-alpha.5+7860344e", | ||
"@opentelemetry/semantic-conventions": "^0.22.1-alpha.5+7860344e", | ||
"lodash.merge": "^4.6.2" | ||
}, | ||
"gitHead": "7750282034ee58bdd257446c2970f01307d7522a" | ||
"gitHead": "7860344eca83449170bafd03fd288e1a3deebacf" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
230422
147
3831
+ Added@opentelemetry/api@1.9.0(transitive)
+ Added@opentelemetry/core@0.22.1-alpha.16(transitive)
+ Added@opentelemetry/resources@0.22.1-alpha.16(transitive)
+ Added@opentelemetry/semantic-conventions@0.22.1-alpha.16(transitive)
- Removed@opentelemetry/api@0.21.0(transitive)
- Removed@opentelemetry/core@0.21.1-alpha.7(transitive)
- Removed@opentelemetry/resources@0.21.1-alpha.7(transitive)
- Removed@opentelemetry/semantic-conventions@0.21.1-alpha.7(transitive)
Updated@opentelemetry/semantic-conventions@^0.22.1-alpha.5+7860344e