-
Notifications
You must be signed in to change notification settings - Fork 820
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge branch 'master' into zipkin
- Loading branch information
Showing
304 changed files
with
9,175 additions
and
3,300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Backwards Compatability | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
types-node: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: restore lerna | ||
uses: actions/cache@master # must use unreleased master to cache multiple paths | ||
id: cache | ||
with: | ||
path: | | ||
node_modules | ||
packages/*/node_modules | ||
metapackages/*/node_modules | ||
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }} | ||
|
||
- name: Bootstrap | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
npm install --only=dev --ignore-scripts | ||
npx lerna bootstrap --no-ci --ignore-scripts -- --only=dev | ||
- name: Install and Build API Dependencies | ||
run: npx lerna bootstrap --no-ci --scope backcompat-* --include-filtered-dependencies | ||
|
||
- name: | ||
run: | | ||
npm run test:backcompat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,3 +78,7 @@ package.json.lerna_backup | |
|
||
# VsCode configs | ||
.vscode/ | ||
|
||
#IDEA | ||
.idea | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "packages/opentelemetry-exporter-collector/src/platform/node/protos"] | ||
path = packages/opentelemetry-exporter-collector/src/platform/node/protos | ||
[submodule "packages/opentelemetry-exporter-collector-grpc/protos"] | ||
path = packages/opentelemetry-exporter-collector-grpc/protos | ||
url = https://github.com/open-telemetry/opentelemetry-proto.git | ||
[submodule "packages/opentelemetry-exporter-collector-proto/protos"] | ||
path = packages/opentelemetry-exporter-collector-proto/protos | ||
url = https://github.com/open-telemetry/opentelemetry-proto.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {NodeSDK, api} from '@opentelemetry/sdk-node'; | ||
import {ConsoleSpanExporter} from '@opentelemetry/tracing'; | ||
|
||
const sdk = new NodeSDK({ | ||
traceExporter: new ConsoleSpanExporter(), | ||
autoDetectResources: false, | ||
}); | ||
sdk.start(); | ||
|
||
api.trace.getTracer('test'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "backcompat-node10", | ||
"version": "0.11.0", | ||
"private": true, | ||
"description": "Backwards compatability app for node8 types and the OpenTelemetry Node.js SDK", | ||
"main": "index.js", | ||
"scripts": { | ||
"test:backcompat": "tsc --noEmit index.ts" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/sdk-node": "^0.11.0", | ||
"@opentelemetry/tracing": "^0.11.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^10.0.0", | ||
"typescript": "^3.9.7" | ||
}, | ||
"author": "OpenTelemetry Authors", | ||
"license": "Apache-2.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {NodeSDK, api} from '@opentelemetry/sdk-node'; | ||
import {ConsoleSpanExporter} from '@opentelemetry/tracing'; | ||
|
||
const sdk = new NodeSDK({ | ||
traceExporter: new ConsoleSpanExporter(), | ||
autoDetectResources: false, | ||
}); | ||
sdk.start(); | ||
|
||
api.trace.getTracer('test'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "backcompat-node12", | ||
"version": "0.11.0", | ||
"private": true, | ||
"description": "Backwards compatability app for node8 types and the OpenTelemetry Node.js SDK", | ||
"main": "index.js", | ||
"scripts": { | ||
"test:backcompat": "tsc --noEmit index.ts" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/sdk-node": "^0.11.0", | ||
"@opentelemetry/tracing": "^0.11.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^12.0.0", | ||
"typescript": "^3.9.7" | ||
}, | ||
"author": "OpenTelemetry Authors", | ||
"license": "Apache-2.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {NodeSDK, api} from '@opentelemetry/sdk-node'; | ||
import {ConsoleSpanExporter} from '@opentelemetry/tracing'; | ||
|
||
const sdk = new NodeSDK({ | ||
traceExporter: new ConsoleSpanExporter(), | ||
autoDetectResources: false, | ||
}); | ||
sdk.start(); | ||
|
||
api.trace.getTracer('test'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "backcompat-node8", | ||
"version": "0.11.0", | ||
"private": true, | ||
"description": "Backwards compatability app for node8 types and the OpenTelemetry Node.js SDK", | ||
"main": "index.js", | ||
"scripts": { | ||
"test:backcompat": "tsc --noEmit index.ts" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/sdk-node": "^0.11.0", | ||
"@opentelemetry/tracing": "^0.11.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^8.0.0", | ||
"typescript": "^3.9.7" | ||
}, | ||
"author": "OpenTelemetry Authors", | ||
"license": "Apache-2.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.