Skip to content

Commit

Permalink
chore: update OpenTelemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed May 7, 2024
1 parent 550fe0c commit 7677030
Show file tree
Hide file tree
Showing 13 changed files with 1,874 additions and 3,118 deletions.
1,978 changes: 776 additions & 1,202 deletions example/basic-node/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/basic-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"author": "Uptrace",
"license": "Apache-2.0",
"dependencies": {
"@uptrace/node": "1.18.1"
"@uptrace/node": "1.19.0"
}
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"author": "Uptrace Authors",
"license": "Apache-2.0",
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"eslint": "8.53.0",
"gts": "5.2.0",
"markdownlint-cli": "0.37.0",
"typescript": "5.2.2"
"@changesets/cli": "^2.27.1",
"@typescript-eslint/eslint-plugin": "7.8.0",
"@typescript-eslint/parser": "7.8.0",
"eslint": "9.2.0",
"gts": "5.3.0",
"markdownlint-cli": "0.40.0",
"typescript": "5.4.5"
}
}
24 changes: 12 additions & 12 deletions packages/uptrace-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uptrace/core",
"version": "1.19.0",
"version": "1.20.0",
"description": "Uptrace JS core",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -50,26 +50,26 @@
"README.md"
],
"dependencies": {
"@opentelemetry/api": "~1.7.0",
"@opentelemetry/core": "~1.21.0",
"@opentelemetry/instrumentation": "~0.48.0",
"@opentelemetry/resources": "~1.21.0",
"@opentelemetry/sdk-trace-base": "~1.21.0",
"@opentelemetry/api": "~1.8.0",
"@opentelemetry/core": "~1.24.0",
"@opentelemetry/instrumentation": "~0.51.0",
"@opentelemetry/resources": "~1.24.0",
"@opentelemetry/sdk-trace-base": "~1.24.0",
"cross-fetch": "4.0.0"
},
"devDependencies": {
"@types/mocha": "10.0.6",
"@types/node": "20.11.7",
"@types/node": "20.12.10",
"@types/sinon": "17.0.3",
"@typescript-eslint/eslint-plugin": "6.19.1",
"eslint": "8.56.0",
"@typescript-eslint/eslint-plugin": "7.8.0",
"eslint": "9.2.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.1.3",
"gts": "5.2.0",
"mocha": "10.2.0",
"gts": "5.3.0",
"mocha": "10.4.0",
"nyc": "15.1.0",
"sinon": "17.0.1",
"ts-mocha": "10.0.0",
"typescript": "5.3.3"
"typescript": "5.4.5"
}
}
2 changes: 1 addition & 1 deletion packages/uptrace-core/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// this is autogenerated file, see scripts/version-update.js
export const VERSION = '1.19.0'
export const VERSION = '1.20.0'
38 changes: 19 additions & 19 deletions packages/uptrace-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uptrace/node",
"version": "1.19.0",
"version": "1.20.0",
"description": "Uptrace JS exporter for Node.js",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -50,33 +50,33 @@
"README.md"
],
"dependencies": {
"@opentelemetry/api": "~1.7.0",
"@opentelemetry/auto-instrumentations-node": "~0.40.3",
"@opentelemetry/core": "~1.21.0",
"@opentelemetry/exporter-logs-otlp-http": "~0.48.0",
"@opentelemetry/exporter-metrics-otlp-http": "~0.48.0",
"@opentelemetry/exporter-trace-otlp-http": "~0.48.0",
"@opentelemetry/id-generator-aws-xray": "~1.2.1",
"@opentelemetry/otlp-exporter-base": "~0.48.0",
"@opentelemetry/sdk-logs": "~0.48.0",
"@opentelemetry/sdk-metrics": "~1.21.0",
"@opentelemetry/sdk-node": "~0.48.0",
"@opentelemetry/sdk-trace-base": "~1.21.0",
"@opentelemetry/api": "~1.8.0",
"@opentelemetry/auto-instrumentations-node": "~0.46.0",
"@opentelemetry/core": "~1.24.0",
"@opentelemetry/exporter-logs-otlp-http": "~0.51.0",
"@opentelemetry/exporter-metrics-otlp-http": "~0.51.0",
"@opentelemetry/exporter-trace-otlp-http": "~0.51.0",
"@opentelemetry/id-generator-aws-xray": "~1.2.2",
"@opentelemetry/otlp-exporter-base": "~0.51.0",
"@opentelemetry/sdk-logs": "~0.51.0",
"@opentelemetry/sdk-metrics": "~1.24.0",
"@opentelemetry/sdk-node": "~0.51.0",
"@opentelemetry/sdk-trace-base": "~1.24.0",
"@uptrace/core": "workspace:*"
},
"devDependencies": {
"@types/mocha": "10.0.6",
"@types/node": "20.11.7",
"@types/node": "20.12.10",
"@types/sinon": "17.0.3",
"@typescript-eslint/eslint-plugin": "6.19.1",
"eslint": "8.56.0",
"@typescript-eslint/eslint-plugin": "7.8.0",
"eslint": "9.2.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.1.3",
"gts": "5.2.0",
"mocha": "10.2.0",
"gts": "5.3.0",
"mocha": "10.4.0",
"nyc": "15.1.0",
"sinon": "17.0.1",
"ts-mocha": "10.0.0",
"typescript": "5.3.3"
"typescript": "5.4.5"
}
}
2 changes: 2 additions & 0 deletions packages/uptrace-node/src/metrics.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { CompressionAlgorithm } from '@opentelemetry/otlp-exporter-base'
import {
PeriodicExportingMetricReader,
//InstrumentType,
Expand All @@ -14,6 +15,7 @@ export function configureMetrics(conf: Config, dsn: Dsn) {
exporter: new OTLPMetricExporter({
url: `${dsn.otlpHttpEndpoint()}/v1/metrics`,
headers: { 'uptrace-dsn': conf.dsn },
compression: CompressionAlgorithm.GZIP,
temporalityPreference: AggregationTemporality.DELTA,
}),
exportIntervalMillis: 15000,
Expand Down
2 changes: 1 addition & 1 deletion packages/uptrace-node/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// this is autogenerated file, see scripts/version-update.js
export const VERSION = '1.19.0'
export const VERSION = '1.20.0'
18 changes: 9 additions & 9 deletions packages/uptrace-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uptrace/vue",
"version": "1.19.0",
"version": "1.20.0",
"description": "Vue instrumentation for OpenTelemetry",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -51,21 +51,21 @@
"README.md"
],
"dependencies": {
"@opentelemetry/api": "~1.7.0",
"@opentelemetry/api": "~1.8.0",
"@uptrace/web": "workspace:*"
},
"devDependencies": {
"@types/lodash": "4.14.202",
"@types/lodash": "4.17.1",
"@types/mocha": "10.0.6",
"@types/node": "20.11.7",
"@typescript-eslint/eslint-plugin": "6.19.1",
"eslint": "8.56.0",
"@types/node": "20.12.10",
"@typescript-eslint/eslint-plugin": "7.8.0",
"eslint": "9.2.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.1.3",
"gts": "5.2.0",
"mocha": "10.2.0",
"gts": "5.3.0",
"mocha": "10.4.0",
"nyc": "15.1.0",
"ts-mocha": "10.0.0",
"typescript": "5.3.3"
"typescript": "5.4.5"
}
}
2 changes: 1 addition & 1 deletion packages/uptrace-vue/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// this is autogenerated file, see scripts/version-update.js
export const VERSION = '1.19.0'
export const VERSION = '1.20.0'
26 changes: 13 additions & 13 deletions packages/uptrace-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uptrace/web",
"version": "1.19.0",
"version": "1.20.0",
"description": "Uptrace JS exporter for browsers",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -50,25 +50,25 @@
"README.md"
],
"dependencies": {
"@opentelemetry/api": "~1.7.0",
"@opentelemetry/core": "~1.21.0",
"@opentelemetry/exporter-trace-otlp-http": "~0.48.0",
"@opentelemetry/instrumentation": "~0.48.0",
"@opentelemetry/sdk-trace-base": "~1.21.0",
"@opentelemetry/sdk-trace-web": "~1.21.0",
"@opentelemetry/api": "~1.8.0",
"@opentelemetry/core": "~1.24.0",
"@opentelemetry/exporter-trace-otlp-http": "~0.51.0",
"@opentelemetry/instrumentation": "~0.51.0",
"@opentelemetry/sdk-trace-base": "~1.24.0",
"@opentelemetry/sdk-trace-web": "~1.24.0",
"@uptrace/core": "workspace:*"
},
"devDependencies": {
"@types/mocha": "10.0.6",
"@types/node": "20.11.7",
"@typescript-eslint/eslint-plugin": "6.19.1",
"eslint": "8.56.0",
"@types/node": "20.12.10",
"@typescript-eslint/eslint-plugin": "7.8.0",
"eslint": "9.2.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.1.3",
"gts": "5.2.0",
"mocha": "10.2.0",
"gts": "5.3.0",
"mocha": "10.4.0",
"nyc": "15.1.0",
"ts-mocha": "10.0.0",
"typescript": "5.3.3"
"typescript": "5.4.5"
}
}
2 changes: 1 addition & 1 deletion packages/uptrace-web/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// this is autogenerated file, see scripts/version-update.js
export const VERSION = '1.19.0'
export const VERSION = '1.20.0'
Loading

0 comments on commit 7677030

Please sign in to comment.