Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support OpenTelemetry SDK 0.8.x #30

Merged
merged 10 commits into from
May 29, 2020
6 changes: 3 additions & 3 deletions packages/opentelemetry-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js#readme",
"devDependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"@opentelemetry/tracing": "^0.8.0",
"gts": "^1.1.2",
"ts-node": "^8.6.2",
"tslint-consistent-codestyle": "^1.16.0",
Expand Down
8 changes: 4 additions & 4 deletions plugins/node/opentelemetry-plugin-dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/node": "^0.6.1",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/node": "^0.8.0",
"@opentelemetry/tracing": "^0.8.0",
"@types/mocha": "^7.0.0",
"@types/node": "^12.7.12",
"@types/semver": "^6.2.0",
Expand All @@ -61,8 +61,8 @@
"typescript": "3.7.2"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"semver": "^7.1.3",
"shimmer": "^1.2.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ describe('Utility', () => {
SpanKind.INTERNAL
);
utils.setError(new Error(errorMessage), span, process.versions.node);
const attributes = span.toReadableSpan().attributes;
const attributes = span.attributes;
assert.strictEqual(
attributes[AttributeNames.DNS_ERROR_MESSAGE],
errorMessage
Expand Down
10 changes: 5 additions & 5 deletions plugins/node/opentelemetry-plugin-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/context-async-hooks": "^0.6.1",
"@opentelemetry/node": "^0.6.1",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/context-async-hooks": "^0.8.0",
"@opentelemetry/node": "^0.8.0",
"@opentelemetry/tracing": "^0.8.0",
"@types/express": "^4.17.2",
"@types/mocha": "^7.0.0",
"@types/node": "^12.12.38",
Expand All @@ -61,8 +61,8 @@
"typescript": "3.7.2"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"shimmer": "^1.2.1"
}
}
10 changes: 5 additions & 5 deletions plugins/node/opentelemetry-plugin-ioredis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/context-async-hooks": "^0.6.1",
"@opentelemetry/node": "^0.6.1",
"@opentelemetry/context-async-hooks": "^0.8.0",
"@opentelemetry/node": "^0.8.0",
"@opentelemetry/test-utils": "^0.7.0",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/tracing": "^0.8.0",
"@types/ioredis": "^4.14.3",
"@types/mocha": "^7.0.0",
"@types/node": "^13.1.0",
Expand All @@ -66,8 +66,8 @@
"typescript": "3.7.4"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"shimmer": "^1.2.1"
}
}
10 changes: 5 additions & 5 deletions plugins/node/opentelemetry-plugin-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/context-async-hooks": "^0.6.1",
"@opentelemetry/node": "^0.6.1",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/context-async-hooks": "^0.8.0",
"@opentelemetry/node": "^0.8.0",
"@opentelemetry/tracing": "^0.8.0",
"@types/mocha": "^7.0.0",
"@types/mongodb": "^3.2.3",
"@types/node": "^12.7.2",
Expand All @@ -61,8 +61,8 @@
"typescript": "3.7.2"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"shimmer": "^1.2.1"
}
}
10 changes: 5 additions & 5 deletions plugins/node/opentelemetry-plugin-mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/context-async-hooks": "^0.6.1",
"@opentelemetry/node": "^0.6.1",
"@opentelemetry/context-async-hooks": "^0.8.0",
"@opentelemetry/node": "^0.8.0",
"@opentelemetry/test-utils": "^0.7.0",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/tracing": "^0.8.0",
"@types/mocha": "^7.0.0",
"@types/mysql": "^2.15.4",
"@types/node": "^12.6.9",
Expand All @@ -62,8 +62,8 @@
"typescript": "3.7.2"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"shimmer": "^1.2.1"
}
}
10 changes: 5 additions & 5 deletions plugins/node/opentelemetry-plugin-pg-pool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/context-async-hooks": "^0.6.1",
"@opentelemetry/context-async-hooks": "^0.8.0",
"@opentelemetry/plugin-pg": "^0.7.0",
"@opentelemetry/test-utils": "^0.7.0",
"@types/mocha": "^7.0.0",
Expand All @@ -69,10 +69,10 @@
"typescript": "3.7.2"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/node": "^0.6.1",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"@opentelemetry/node": "^0.8.0",
"@opentelemetry/tracing": "^0.8.0",
"shimmer": "^1.2.1"
}
}
10 changes: 5 additions & 5 deletions plugins/node/opentelemetry-plugin-pg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/context-async-hooks": "^0.6.1",
"@opentelemetry/node": "^0.6.1",
"@opentelemetry/context-async-hooks": "^0.8.0",
"@opentelemetry/node": "^0.8.0",
"@opentelemetry/test-utils": "^0.7.0",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/tracing": "^0.8.0",
"@types/mocha": "^7.0.0",
"@types/node": "^12.6.9",
"@types/pg": "^7.11.2",
Expand All @@ -66,8 +66,8 @@
"typescript": "3.7.2"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"shimmer": "^1.2.1"
}
}
10 changes: 5 additions & 5 deletions plugins/node/opentelemetry-plugin-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/context-async-hooks": "^0.6.1",
"@opentelemetry/node": "^0.6.1",
"@opentelemetry/context-async-hooks": "^0.8.0",
"@opentelemetry/node": "^0.8.0",
"@opentelemetry/test-utils": "^0.7.0",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/tracing": "^0.8.0",
"@types/mocha": "^7.0.0",
"@types/node": "^12.6.9",
"@types/redis": "^2.8.14",
Expand All @@ -65,8 +65,8 @@
"typescript": "3.7.2"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"shimmer": "^1.2.1"
}
}
9 changes: 4 additions & 5 deletions plugins/web/opentelemetry-plugin-document-load/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"devDependencies": {
"@babel/core": "^7.6.0",
"@opentelemetry/base": "^0.6.1",
"@types/mocha": "^7.0.0",
"@types/node": "^12.6.8",
"@types/sinon": "^7.0.13",
Expand Down Expand Up @@ -73,9 +72,9 @@
"webpack-merge": "^4.2.2"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/web": "^0.6.1"
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"@opentelemetry/tracing": "^0.8.0",
"@opentelemetry/web": "^0.8.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import {
} from '@opentelemetry/web';
import * as assert from 'assert';
import * as sinon from 'sinon';
import { ExportResult } from '@opentelemetry/base';
import { ExportResult } from '@opentelemetry/core';
import { DocumentLoad } from '../src';

export class DummyExporter implements SpanExporter {
Expand Down
12 changes: 6 additions & 6 deletions plugins/web/opentelemetry-plugin-user-interaction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
},
"devDependencies": {
"@babel/core": "^7.6.0",
"@opentelemetry/context-zone-peer-dep": "^0.6.1",
"@opentelemetry/plugin-xml-http-request": "^0.6.1",
"@opentelemetry/tracing": "^0.6.1",
"@opentelemetry/context-zone-peer-dep": "^0.8.0",
"@opentelemetry/plugin-xml-http-request": "^0.8.0",
"@opentelemetry/tracing": "^0.8.0",
"@types/jquery": "^3.3.31",
"@types/mocha": "^7.0.0",
"@types/node": "^12.6.8",
Expand Down Expand Up @@ -79,9 +79,9 @@
"webpack-merge": "^4.2.2"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1",
"@opentelemetry/web": "^0.6.1",
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0",
"@opentelemetry/web": "^0.8.0",
"shimmer": "^1.2.1"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions propagators/opentelemetry-propagator-jaeger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"webpack": "^4.35.2"
},
"dependencies": {
"@opentelemetry/api": "^0.6.1",
"@opentelemetry/core": "^0.6.1"
"@opentelemetry/api": "^0.8.0",
"@opentelemetry/core": "^0.8.0"
}
}