Skip to content

Commit

Permalink
Merge branch 'main' into instrumentation-prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarchaud authored Jul 17, 2021
2 parents 9bee39d + 90e941a commit dabdf19
Show file tree
Hide file tree
Showing 35 changed files with 133 additions and 143 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This is the JavaScript version of [OpenTelemetry](https://opentelemetry.io/), a

| API Version | Core version | Contrib Version |
| ----------- |--------------|-------------------------|
| 1.0.x | 0.23.x | ------ |
| 1.0.x | 0.23.x | 0.23.x |
| 1.0.x | 0.22.x | 0.22.x |
| 0.21.x | 0.21.x | 0.21.x |
| 0.20.x | 0.20.x | 0.20.x |
Expand Down
1 change: 0 additions & 1 deletion examples/tracer-web/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const common = {
mode: 'development',
entry: {
metrics: 'examples/metrics/index.js',
test: 'examples/test/test.ts',
fetch: 'examples/fetch/index.js',
'xml-http-request': 'examples/xml-http-request/index.js',
zipkin: 'examples/zipkin/index.js',
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-context-async-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"nyc": "15.1.0",
"rimraf": "3.0.2",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-context-zone-peer-dep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0",
"webpack-cli": "4.7.2",
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-context-zone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0",
"webpack-cli": "4.7.2",
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0"
},
Expand Down
16 changes: 8 additions & 8 deletions packages/opentelemetry-exporter-collector-grpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ const { BasicTracerProvider, SimpleSpanProcessor } = require('@opentelemetry/tra
const { CollectorTraceExporter } = require('@opentelemetry/exporter-collector-grpc');

const collectorOptions = {
// url is optional and can be omitted - default is localhost:4317
url: '<collector-hostname>:<port>',
// url is optional and can be omitted - default is grpc://localhost:4317
url: 'grpc://<collector-hostname>:<port>',
};

const provider = new BasicTracerProvider();
Expand All @@ -51,8 +51,8 @@ const { BasicTracerProvider, SimpleSpanProcessor } = require('@opentelemetry/tra
const { CollectorTraceExporter } = require('@opentelemetry/exporter-collector-grpc');

const collectorOptions = {
// url is optional and can be omitted - default is localhost:4317
url: '<collector-hostname>:<port>',
// url is optional and can be omitted - default is grpc://localhost:4317
url: 'grpc://<collector-hostname>:<port>',
credentials: grpc.credentials.createSsl(),
};

Expand Down Expand Up @@ -91,8 +91,8 @@ const metadata = new grpc.Metadata();
metadata.set('k', 'v');

const collectorOptions = {
// url is optional and can be omitted - default is localhost:4317
url: '<collector-hostname>:<port>',
// url is optional and can be omitted - default is grpc://localhost:4317
url: 'grpc://<collector-hostname>:<port>',
metadata, // // an optional grpc.Metadata object to be sent with each request
};

Expand All @@ -116,8 +116,8 @@ The CollectorTraceExporter in Node expects the URL to only be the hostname. It w
const { MeterProvider } = require('@opentelemetry/metrics');
const { CollectorMetricExporter } = require('@opentelemetry/exporter-collector-grpc');
const collectorOptions = {
// url is optional and can be omitted - default is localhost:4317
url: '<collector-hostname>:<port>',
// url is optional and can be omitted - default is grpc://localhost:4317
url: 'grpc://<collector-hostname>:<port>',
};
const exporter = new CollectorMetricExporter(collectorOptions);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { ServiceClientType } from './types';
import { CollectorExporterNodeBase } from './CollectorExporterNodeBase';
import { getEnv, baggageUtils } from '@opentelemetry/core';

const DEFAULT_COLLECTOR_URL = 'http://localhost:4317/v1/metrics';
const DEFAULT_COLLECTOR_URL = 'http://localhost:55681/v1/metrics';

/**
* Collector Metric Exporter for Node with protobuf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
import { ServiceClientType } from './types';
import { getEnv, baggageUtils } from '@opentelemetry/core';

const DEFAULT_COLLECTOR_URL = 'http://localhost:4317/v1/traces';
const DEFAULT_COLLECTOR_URL = 'http://localhost:55681/v1/traces';

/**
* Collector Trace Exporter for Node with protobuf
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-exporter-collector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0",
"webpack-cli": "4.7.2",
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-exporter-jaeger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"rimraf": "3.0.2",
"sinon": "10.0.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-exporter-prometheus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"rimraf": "3.0.2",
"sinon": "10.0.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-exporter-zipkin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0",
"webpack-cli": "4.7.2",
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-instrumentation-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0",
"webpack-cli": "4.7.2",
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-instrumentation-grpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"semver": "7.3.5",
"sinon": "10.0.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-instrumentation-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"sinon": "10.0.0",
"superagent": "6.1.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0",
"webpack-cli": "4.7.2",
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-instrumentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0",
"webpack-cli": "4.7.2",
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"rimraf": "3.0.2",
"sinon": "10.0.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"shimmer": "1.2.1",
"sinon": "10.0.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-propagator-jaeger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0"
},
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-resource-detector-aws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"rimraf": "3.0.2",
"sinon": "10.0.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-resource-detector-gcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"nyc": "15.1.0",
"rimraf": "3.0.2",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"rimraf": "3.0.2",
"sinon": "10.0.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-semantic-conventions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"rimraf": "3.0.2",
"sinon": "10.0.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
}
}
1 change: 0 additions & 1 deletion packages/opentelemetry-shim-opentracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"nyc": "15.1.0",
"rimraf": "3.0.2",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0"
},
Expand Down
1 change: 0 additions & 1 deletion packages/opentelemetry-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"sinon": "10.0.0",
"ts-loader": "8.3.0",
"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",
"webpack": "4.46.0",
"webpack-cli": "4.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "https://github.com/open-telemetry/opentelemetry-js/issues"
},
"engines": {
"node": ">=8.0.0"
"node": ">=8.5.0"
},
"scripts": {
"compile": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"rangeStrategy": "bump"
},
{
"matchPaths": ["backwards-compatibility/**"],
"matchPaths": ["backwards-compatibility"],
"matchPackageNames": ["@types/node"],
"enabled": false
}
Expand Down
Loading

0 comments on commit dabdf19

Please sign in to comment.