Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: open-telemetry/opentelemetry-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2409f1cdddd92c23548c18c055a6a36efe36349f
Choose a base ref
...
head repository: open-telemetry/opentelemetry-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fd2410cc9e8d43210b6ea44b8193fa70ee900499
Choose a head ref

Commits on Mar 30, 2021

  1. Copy the full SHA
    cabf863 View commit details
  2. Copy the full SHA
    239745f View commit details

Commits on Mar 31, 2021

  1. refactor: simplify b3 options (#2054)

    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    mwear and vmarchaud authored Mar 31, 2021
    Copy the full SHA
    853fcb9 View commit details

Commits on Apr 5, 2021

  1. Copy the full SHA
    02175df View commit details
  2. Copy the full SHA
    8e2e2a9 View commit details

Commits on Apr 7, 2021

  1. Copy the full SHA
    3d4d8b5 View commit details
  2. Copy the full SHA
    897c35f View commit details

Commits on Apr 8, 2021

  1. Add opentelemetry.io docs (#2051)

    Co-authored-by: John Bley <johnbley@gmail.com>
    Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    4 people authored Apr 8, 2021
    Copy the full SHA
    fec5e31 View commit details
  2. Copy the full SHA
    a457776 View commit details
  3. fix: do not inject invalid span context (#2080)

    * fix: do not inject invalid span context
    
    * chore: review comments
    dyladan authored Apr 8, 2021
    Copy the full SHA
    80ff5e2 View commit details
  4. chore: do not inject span context when instrumentation is suppressed (#…

    …2082)
    
    * chore: do not inject span context when instrumentation is suppressed
    
    * chore: review comments
    dyladan authored Apr 8, 2021
    Copy the full SHA
    64c8ef5 View commit details
  5. fix: await http response in AWS EKS detector (#2076)

    * previously missing await on a promise response
    * update tests to reflect current behavior
    
    Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
    vreynolds and dyladan authored Apr 8, 2021
    Copy the full SHA
    a51bbbd View commit details

Commits on Apr 9, 2021

  1. chore: adding info to debug whenever headers are being skipped due to…

    … cors policy (#2061)
    
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    obecny and vmarchaud authored Apr 9, 2021
    Copy the full SHA
    4a468fc View commit details
  2. remove plugins (#2081)

    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    obecny and vmarchaud authored Apr 9, 2021
    Copy the full SHA
    4a3fd1f View commit details
  3. fix: correct removeAllListeners in case no event is passed (#2088)

    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    Flarna and vmarchaud authored Apr 9, 2021
    Copy the full SHA
    a2fff0d View commit details
  4. Copy the full SHA
    7f7afa7 View commit details

Commits on Apr 10, 2021

  1. feat: add semconv generator for semantic-conventions-package (#2083)

    Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>
    weyert and tapico-weyert authored Apr 10, 2021
    Copy the full SHA
    031b0f4 View commit details
  2. feat: enable propagators using ENV vars (#1929)

    * feat: enable propagators using ENV vars
    
    * fix: browser tests
    
    * fix: remove rebase mistakes
    
    * fix: feedback from PR
    
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    jtmalinowski and vmarchaud authored Apr 10, 2021
    Copy the full SHA
    9fc1b10 View commit details

Commits on Apr 11, 2021

  1. chore: avoid unneeded context.with in http instrumentation (#2043)

    Avoid the overhead of context.with() by directly passing the extracted
    context to tracer.startSpan().
    This ensures also that the extracted context is not accidently propagated
    out of the HTTP instrumentation.
    
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    Co-authored-by: Naseem <naseem@transit.app>
    3 people authored Apr 11, 2021
    Copy the full SHA
    9371029 View commit details

Commits on Apr 12, 2021

  1. chore: pin own deps (#2073)

    dyladan authored Apr 12, 2021
    Copy the full SHA
    b6dfd97 View commit details
  2. chore: fixing readme info (#2094)

    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
    3 people authored Apr 12, 2021
    Copy the full SHA
    90a4b4d View commit details
  3. feat(instrumentation-fetch): Add applyCustomAttributesOnSpan option (#…

    …2071)
    
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    niekert and vmarchaud authored Apr 12, 2021
    Copy the full SHA
    5dbe53a View commit details
  4. Copy the full SHA
    2260dd6 View commit details
  5. Migrate exporter-collector-grpc to grpc-js (#2092)

    Co-authored-by: Daniel Radetsky <dradetsky@gmail.com>
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    3 people authored Apr 12, 2021
    Copy the full SHA
    d4e0fe2 View commit details
  6. Copy the full SHA
    4ef22ca View commit details

Commits on Apr 13, 2021

  1. chore: adding interceptor for getting headers before each request (#2050

    )
    
    * chore: adding interceptor for getting headers before each request
    
    * chore: renaming getHeadersBeforeSend into getExportRequestHeaders
    obecny authored Apr 13, 2021
    Copy the full SHA
    e27f9fb View commit details
  2. chore: no-floating-promises (#1780)

    Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
    Naseem and dyladan authored Apr 13, 2021
    Copy the full SHA
    115ee39 View commit details

Commits on Apr 14, 2021

  1. Copy the full SHA
    181f11e View commit details
  2. fix: don't use spanId from invalid parent (#2105)

    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    Flarna and vmarchaud authored Apr 14, 2021
    Copy the full SHA
    c0b021b View commit details

Commits on Apr 19, 2021

  1. feat: upgrade semantic conventions to v1.2.0 of spec (#2115)

    * feat: upgrade semantic conventions to v1.2.0 of spec
    
    Updated the generated semantic convention attributes to the one defined
    in v1.2.0 of the Opentelemetry specification.
    
    Changed `generate.sh` to ensure it uses v1.2.0 of the spec
    
    * fix: improve the semconv template to better handled referenced attributes
    
    Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>
    weyert and tapico-weyert authored Apr 19, 2021
    Copy the full SHA
    09c2aa7 View commit details

Commits on Apr 20, 2021

  1. feat: handle OTEL_TRACES_SAMPLER env var (#2111)

    * feat: handle OTEL_TRACES_SAMPLER env var
    
    Adds support for OTEL_TRACES_SAMPLER and OTEL_TRACES_SAMPLER_ARG, in favor of
    OTEL_SAMPLING_PROBABILITY.
    
    * fix: feedback in the PR
    
    * refactor: extract OTEL_TRACES_SAMPLER values to enum
    jtmalinowski authored Apr 20, 2021
    Copy the full SHA
    d268bc6 View commit details
  2. feat: add AWS Lambda detector (#2102)

    * feat: add AWS Lambda detector
    
    * chore: document detectors
    
    * chore: issue
    
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    Anuraag Agrawal and vmarchaud authored Apr 20, 2021
    Copy the full SHA
    27f64d9 View commit details
  3. fix(instrumentation): support multiple module definitions with differ…

    …ent versions (#2120)
    
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    seemk and vmarchaud authored Apr 20, 2021
    Copy the full SHA
    c516264 View commit details

Commits on Apr 21, 2021

  1. feat: ensure the label names are sanitised (#2121)

    Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
    Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>
    Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
    4 people authored Apr 21, 2021
    Copy the full SHA
    4f9d2b2 View commit details
  2. fix: add isEnabled to InstrumentationBase (#2135)

    Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
    seemk and dyladan authored Apr 21, 2021
    Copy the full SHA
    d3989d3 View commit details

Commits on Apr 22, 2021

  1. Copy the full SHA
    0c15999 View commit details
  2. Copy the full SHA
    a0385c4 View commit details
  3. feat: add diag warning when metric name is invalid (#2122)

    Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    3 people authored Apr 22, 2021
    Copy the full SHA
    7775c0e View commit details
  4. feat: add ESM builds for packages used in browser (#2112)

    * feat: add ESM builds for packages used in browser
    
    * Update CONTRIBUTING.md
    
    Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
    
    Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
    Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    4 people authored Apr 22, 2021
    Copy the full SHA
    23ba4bf View commit details

Commits on Apr 23, 2021

  1. chore: prefer use of global TracerProvider/MeterProvider (#2127)

    Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    3 people authored Apr 23, 2021
    Copy the full SHA
    f077df3 View commit details

Commits on Apr 25, 2021

  1. feat(instrumentation-xhr): add applyCustomAttributesOnSpan hook (#2134)

    Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
    Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    4 people authored Apr 25, 2021
    Copy the full SHA
    d504f32 View commit details

Commits on Apr 26, 2021

  1. chore(deps): support cumulative, delta, and pass-through exporters (#…

    …2118)
    
    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    sergeylanzman and vmarchaud authored Apr 26, 2021
    Copy the full SHA
    b9c8426 View commit details

Commits on Apr 28, 2021

  1. Copy the full SHA
    c4341c3 View commit details
  2. Copy the full SHA
    5641868 View commit details

Commits on Apr 29, 2021

  1. Copy the full SHA
    677727b View commit details
  2. feat(shim-opentracing): add propagator configuration (#2153)

    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    vreynolds and vmarchaud authored Apr 29, 2021
    Copy the full SHA
    7b1ed39 View commit details
  3. Copy the full SHA
    2afcc7c View commit details

Commits on Apr 30, 2021

  1. chore: adding sufix propagator to http baggage and http trace context (

    …#2149)
    
    * chore: adding sufix propagator to http baggage and http trace context
    
    * chore: readme
    
    * chore: fixes after merge
    obecny authored Apr 30, 2021
    Copy the full SHA
    25c205a View commit details

Commits on May 1, 2021

  1. fix: move initialization of const above first use #2170 (#2171)

    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    dyladan and vmarchaud authored May 1, 2021
    Copy the full SHA
    329cf92 View commit details
  2. semantic-conventions: include built esm files in package (#2167)

    Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
    t2t2 and vmarchaud authored May 1, 2021
    Copy the full SHA
    e1e79ef View commit details
Showing 583 changed files with 12,644 additions and 18,223 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -12,4 +12,4 @@
# https://help.github.com/en/articles/about-code-owners
#

* @dyladan @mayurkale22 @OlivierAlbertini @vmarchaud @markwolff @obecny @mwear @naseemkullah @legendecas @Flarna @johnbley
* @dyladan @mayurkale22 @OlivierAlbertini @vmarchaud @markwolff @obecny @mwear @naseemkullah @legendecas @Flarna @johnbley @MSNev @Rauno56
54 changes: 54 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Deploy API Documentation

on:
release:
types: [published]

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '14'

- name: restore lock files
uses: actions/cache@master # must use unreleased master to cache multiple paths
id: cache
with:
# must be done before bootstrap to not include node_modules files in the cache paths
path: |
package-lock.json
packages/*/package-lock.json
benchmark/*/package-lock.json
backwards-compatability/*/package-lock.json
metapackages/*/package-lock.json
packages/*/package-lock.json
integration-tests/*/package-lock.json
key: ${{ runner.os }}-unit_test-${{ matrix.node_version }}-${{ hashFiles('**/package.json') }}
- name: Install and Build (cache miss) 🔧
if: steps.cache.outputs.cache-hit != 'true'
run: |
npm install --ignore-scripts
npx lerna bootstrap --no-ci
npm run compile
- name: Install and Build (cache hit) 🔧
if: steps.cache.outputs.cache-hit == 'true'
run: |
npm ci --ignore-scripts
npx lerna bootstrap
npm run compile
- name: Build Docs
run: npm run docs

- name: Deploy Documentation 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs # The folder the action should deploy.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -41,7 +41,8 @@ jobs:
metapackages/*/package-lock.json
packages/*/package-lock.json
integration-tests/*/package-lock.json
key: ${{ runner.os }}-lint-${{ hashFiles('**/package.json') }}
# increment the trailing number to break the cache manually
key: ${{ runner.os }}-lint-${{ hashFiles('**/package.json') }}-0

# On a cache hit, use ci to speed up the install process
- name: Bootstrap (cache hit)
22 changes: 22 additions & 0 deletions .github/workflows/peer-api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Ensure API Peer Dependency

on:
push:
branches:
- main
pull_request:

jobs:
peer-api-check:
runs-on: ubuntu-latest
container:
image: node:14
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install lerna
run: npm install -g lerna

- name: Check API dependency semantics
run: lerna exec "node ../../scripts/peer-api-check.js"
16 changes: 8 additions & 8 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -10,16 +10,18 @@ jobs:
strategy:
fail-fast: false
matrix:
container: ["node:8", "node:10", "node:12", "node:14"]
node_version: ["8", "10", "12", "14", "16"]
runs-on: ubuntu-latest
container:
image: ${{ matrix.container }}
env:
NPM_CONFIG_UNSAFE_PERM: true
steps:
- name: Checkout
uses: actions/checkout@v1

- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}

- name: restore lock files
uses: actions/cache@master # must use unreleased master to cache multiple paths
id: cache
@@ -33,8 +35,7 @@ jobs:
metapackages/*/package-lock.json
packages/*/package-lock.json
integration-tests/*/package-lock.json
key: ${{ runner.os }}-unit_test-${{ matrix.container }}-${{ hashFiles('**/package.json') }}

key: ${{ runner.os }}-unit_test-${{ matrix.node_version }}-${{ hashFiles('**/package.json') }}
- name: Install and Build (cache miss) 🔧
if: steps.cache.outputs.cache-hit != 'true'
run: |
@@ -53,19 +54,18 @@ jobs:
run: npm run test
- name: Report Coverage
run: npm run codecov
if: ${{ matrix.container }} == 'node:12'
if: ${{ matrix.node_version == '14' }}
browser-tests:
runs-on: ubuntu-latest
container:
image: circleci/node:12-browsers
image: circleci/node:14-browsers
env:
NPM_CONFIG_UNSAFE_PERM: true
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Permission Setup
run: sudo chmod -R 777 /github /__w

- name: restore lock files
uses: actions/cache@master # must use unreleased master to cache multiple paths
id: cache
4 changes: 2 additions & 2 deletions .github/workflows/w3c-integration-test.yml
Original file line number Diff line number Diff line change
@@ -39,9 +39,9 @@ jobs:
run: |
npm ci --ignore-scripts
npx lerna bootstrap --scope=propagation-validation-server --include-dependencies
- name: Build 🔧
run: npm run compile
run: npm run compile
working-directory: ./integration-tests/propagation-validation-server

- name: Run W3C Test harness
Loading