Commit Graph

154 Commits

Author SHA1 Message Date
Daniel Dyla f2dcec6b17
chore: use local server for http integration tests (#1808) 2021-01-11 14:08:31 -05:00
Srikanth Chekuri 80ea2e0037
chore: remove NoopLogger from sdk and use from api (#1746) 2020-12-22 13:19:20 -05:00
Gerhard Stöbich a2304c9a82
chore: remove tracer apis not part of spec (#1764)
Co-authored-by: Mayur Kale <mayurkale@google.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-12-21 17:12:42 -05:00
Gerhard Stöbich c1d4264a9f
chore: improve naming of span related context APIs (#1749) 2020-12-21 10:15:47 -05:00
Daniel Dyla 7e5da4152d
chore: speed up builds (#1748) 2020-12-18 09:16:18 -05:00
Daniel Dyla 27a8d4530c
chore: version 0.14.0 proposal (#1763) 2020-12-17 15:44:39 -05:00
Bartlomiej Obecny d113742b07
feat: fixing failing test (#1747)
* feat: fixing failing test

* feat: fixing failing test
2020-12-14 19:14:08 +01:00
Gerhard Stöbich 5701473fcb
chore: requires user to pass context to propagation APIs (#1734)
* chore: requires user to pass context to propagation APIs

At least for extract() using the current active context is often a bad
choice because usually a plugin wants to use an extracted span instead
the current active.

Change propagation APIs to require context as first argument instead of
using active context on default. This ensures that plugin developers
have to be explicit instead of relying on a potential wrong default.

* (chore) fix lint

* add test

* Adapt http instrumentation

* fix: update integration testserver
2020-12-14 16:21:15 +01:00
WhiteSource Renovate 0d06a52eed
chore(deps): update all non-major dependencies (#1716) 2020-12-11 17:18:05 +01:00
Nik Zap 52c60966f2
feat(opentelemetry-js): add content size attributes to HTTP spans (#1625)
* feat(opentelemetry-js): extract content-length header for span attrs

Signed-off-by: Carlo Pearson <cpearson@newrelic.com>

* feat(opentelemetry-js): add content-length attributes to HTTP spans

Signed-off-by: Carlo Pearson <cpearson@newrelic.com>

* feat(opentelemetry-js): linting

* feat(opentelemetry-js): verify content length attributes are a number

* feat(opentelemetry-js): refactor setting content-length attributes

* feat(opentelemetry-js): lint fixes

* feat(opentelemetry-js): lint fixes

* fix: incorrect docs

Co-authored-by: Carlo Pearson <cpearson@newrelic.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
2020-12-10 19:53:08 +01:00
Bartlomiej Obecny 91612c4d5e
chore: moving plugin from api to core (#1715) 2020-12-08 14:27:02 +01:00
Daniel Dyla 86cbd6798f
chore: 0.13.0 proposal (#1718) 2020-12-04 16:14:05 -05:00
WhiteSource Renovate b22ca638ff
chore(deps): update dependency ts-mocha to v8 (#1639)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-12-02 11:50:12 -05:00
WhiteSource Renovate 6a55593cff
chore(deps): update all non-major dependencies (#1451) 2020-11-30 15:44:11 -05:00
Srikanth Chekuri dec432da6e
fix!: change status codes from grpc status codes (#1644)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-11-05 12:41:38 -05:00
Andrew 53d2b514e4
chore: eslint - fix unused vars warnings, add precommit lint - part 1 (#1636) 2020-11-02 13:33:59 -05:00
Daniel Dyla d8907d8fe7
feat: span processor onstart recieves context (#1632) 2020-10-30 12:00:04 -04:00
Daniel Dyla eb35306618
chore: add fields operation to TextMapPropagator (#1615) 2020-10-28 09:10:09 -04:00
Bartlomiej Obecny 3f72613a36
chore: 0.12.0 proposal (#1592)
* chore: 0.12.0 proposal
2020-10-19 14:39:09 +02:00
Matthew Wear 1c27690b3b
feat: simplify active span logic (#1589)
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
2020-10-14 12:11:37 -04:00
Valentin Marchaud 4b5b023bac
fix(http): do not set outgoing http span as active in the context #1479 (#1546) 2020-10-13 12:31:42 -04:00
Valentin Marchaud acaa074fb8
feat(api): propagate spanContext only using API #1456 (#1527)
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-10-01 15:11:41 -04:00
Valentin Marchaud f731c65201
chore(http): remove `x-opentelemetry-outgoing-request` header #1547 (#1548) 2020-10-01 16:09:11 +02:00
WhiteSource Renovate 6eb157c669
chore(deps): update dependency ts-node to v9 (#1473) 2020-09-30 14:27:53 +02:00
Daniel Dyla 059aa838bf
fix: avoid circular require in plugins (#1551) 2020-09-22 13:48:45 -04:00
Igor Morozov ff3ee0f6d1
fix(plugin-http): remove path from span name (#1466)
* fix(plugin-http): remove path from span name

* test(plugin-http): fix span name related tests

* style(plugin-http): make startHttpSpan single line

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-09-03 15:39:34 -04:00
Bartlomiej Obecny 15174c6647
0.11.0 proposal (#1481) 2020-09-01 21:13:24 +02:00
dengliming d8bff27a3a
refactor: rename HttpText to TextMap propagator (#1458)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2020-08-25 09:26:25 -04:00
Bartlomiej Obecny 2ee9f1aaf7
feat: adding possibility of recording exception (#1372)
* feat: adding possibility of recording exception

* chore: copy

* chore: copy

* chore: linting

* chore: reviews

* chore: updating exception type

* chore: reviews

* chore: reviews

* chore: fixing test when waiting for files to be loaded
2020-08-25 00:35:14 +02:00
WhiteSource Renovate 739462d4e0
chore(deps): update dependency superagent to v6 (#1425)
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
2020-08-18 01:51:28 +02:00
dengliming 644edc3747
Add mapping for 499 http status (#1418)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-08-14 11:23:01 -04:00
WhiteSource Renovate f612922e8c
chore(deps): update all non-major dependencies (#1424) 2020-08-14 11:02:42 -04:00
WhiteSource Renovate 978506ce75
chore(deps): update all non-major dependencies (#1402) 2020-08-10 00:38:38 -07:00
Daniel Dyla b247e69034
chore: 0.10.2 proposal (#1382) 2020-08-03 19:16:43 -04:00
WhiteSource Renovate 0cde542dc8
chore(deps): update all non-major dependencies (#1371) 2020-07-31 11:09:42 -04:00
Daniel Dyla 03981e4299
chore: 0.10.1 release proposal (#1359) 2020-07-28 11:07:22 -04:00
Daniel Dyla ab62a4d69b
chore: 0.10.0 release proposal (#1345) 2020-07-27 16:48:06 -04:00
WhiteSource Renovate c14000bd85
chore(deps): update all non-major dependencies (#1348) 2020-07-24 11:01:39 -07:00
WhiteSource Renovate 785442c500
chore(deps): update dependency @types/mocha to v8 (#1324)
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
2020-07-17 23:44:21 -07:00
WhiteSource Renovate 73fbbcb442
chore(deps): update all non-major dependencies (#1323) 2020-07-17 17:24:09 -04:00
WhiteSource Renovate cb753b6f1e
chore(deps): update all non-major dependencies (#1297)
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-07-11 17:56:06 -07:00
WhiteSource Renovate 643b97f9c4
chore(deps): update dependency @types/semver to v7.3.1 (#1245) 2020-06-25 17:07:38 -04:00
WhiteSource Renovate bff0b66186
chore(deps): update dependency @types/node to v14.0.14 (#1244) 2020-06-25 15:02:04 -04:00
Mark Wolff 153169af7d
fix(package.json): publish source maps (#1237)
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-06-24 09:57:24 -07:00
Mark Wolff 806eabd0bc
refactor: deprecate attribute.component (#1220)
* refactor: deprecate attribute.component

* fix(tests): shift test attribute indexes

Co-authored-by: Naseem <naseem@transit.app>
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-06-23 19:46:42 -07:00
Mayur Kale 904245f767
chore: 0.9.0 release proposal (#1208) 2020-06-18 14:20:29 -07:00
Mark Wolff 0596054d56
refactor(attributes): move enums to @opentelemetry/semantic-conventions (#1160) 2020-06-15 11:15:27 -07:00
Mark Wolff e9b2cf9aeb
refactor: remove copyright year from file headers (#1150) 2020-06-12 09:27:21 -04:00
Mayur Kale 22d2a31c3b
chore(plugin-http): remove unused eslint (#1183) 2020-06-10 23:36:42 -04:00
Daniel Dyla 5ea7060d61
Combined dependency updates (#1180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 14:47:57 -04:00