Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test coverage for Xml Http Plugin #2

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
87882cb
chore(deps): update dependency sinon to v9 (#1196)
renovate-bot Jun 16, 2020
56a2413
Add @legendecas to approvers / CODEOWNERS (#1198)
mayurkale22 Jun 16, 2020
fd5c142
chore(deps): update typescript-eslint monorepo to v3.3.0 (#1199)
renovate-bot Jun 16, 2020
b20bbf9
chore(deps): update dependency typescript to v3.9.5 (#1195)
renovate-bot Jun 16, 2020
deb3570
fix(exporter-collector): default endpoint for node and browser (#1197)
davidwitten Jun 17, 2020
0d939d2
chore: adding plugin-fetch and example (#1121)
obecny Jun 17, 2020
744c871
chore(deps): pin dependencies (#1205)
renovate-bot Jun 17, 2020
a2d1964
feat: add node-plugins-all package (#1181)
dyladan Jun 17, 2020
7afc454
fix(deps): pin dependencies (#1212)
renovate-bot Jun 18, 2020
28ad2ce
feat: collector exporter custom headers and metadata (#1204)
mwear Jun 18, 2020
2486c3d
chore: fixing zone from which to fork a new zone (#1209)
obecny Jun 18, 2020
d80f37f
test(opentelemetry-plugin-xml-http-request): added un/patching tests
thgao Jun 4, 2020
c7f8d33
test(opentelemetry-plugin-xml-http-request): added CORS preflight tests
thgao Jun 11, 2020
595ee85
style(opentelemetry-plugin-xml-http-request): ran lint:fix
thgao Jun 11, 2020
0898236
test(opentelemetry-plugin-xml-http-request): ignored urls
thgao Jun 11, 2020
7a88ba5
test(opentelemetry-plugin-xml-http-request): header prop tests
thgao Jun 11, 2020
5d8c2c6
test(opentelemetry-plugin-xml-http-request): clearTimingResources config
thgao Jun 12, 2020
b9fc81a
test(opentelemetry-plugin-xml-http-request): added test for XHR reuse
thgao Jun 15, 2020
8f11a63
test(opentelemetry-plugin-xml-http-request): added error handler tests
thgao Jun 15, 2020
b0fedd7
style(opentelemetry-plugin-xml-http-request): cleaned up
thgao Jun 17, 2020
0ca3f9f
refactor(opentelemetry-plugin-xml-http-request): use common getData
thgao Jun 17, 2020
f9f5df5
chore: fix markdown linting and add npm script (#1217)
dyladan Jun 18, 2020
076513d
Merge branch 'master' into test-coverage-xml-http-plugin
dyladan Jun 18, 2020
2afaffa
Adds possibility to set headers to zipkin exporter (#1202)
obecny Jun 18, 2020
904245f
chore: 0.9.0 release proposal (#1208)
mayurkale22 Jun 18, 2020
1f20b48
chore(deps): update dependency webpack-cli to v3.3.12 (#1223)
renovate-bot Jun 19, 2020
298b19f
fix: change default propagator to match spec (#1218)
jonahrosenblum Jun 19, 2020
c78182f
chore(deps): update dependency @grpc/grpc-js to v1.1.1 (#1222)
renovate-bot Jun 19, 2020
f332667
chore(deps): update dependency ts-loader to v7 (#1213)
renovate-bot Jun 19, 2020
b7d08c7
chore(renovate): remove rebaseWhen config (#1226)
mayurkale22 Jun 22, 2020
5f059a5
fix(jsdoc): change null to undefined (#1231)
markwolff Jun 22, 2020
f7988a3
Merge branch 'master' into test-coverage-xml-http-plugin
mayurkale22 Jun 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# https://help.github.com/en/articles/about-code-owners
#

* @dyladan @mayurkale22 @rochdev @bg451 @OlivierAlbertini @vmarchaud @markwolff @obecny @mwear @naseemkullah
* @dyladan @mayurkale22 @rochdev @bg451 @OlivierAlbertini @vmarchaud @markwolff @obecny @mwear @naseemkullah @legendecas
7 changes: 2 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,16 @@ Please answer these questions before submitting a bug report.

### What version of OpenTelemetry are you using?


### What version of Node are you using?


### What did you do?
If possible, provide a recipe for reproducing the error.

If possible, provide a recipe for reproducing the error.

### What did you expect to see?


### What did you see instead?


### Additional context

Add any other context about the problem here.
11 changes: 7 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@ labels: feature-request

**NB:** Before opening a feature request against this repo, consider whether the feature should/could be implemented in the [other OpenTelemetry client libraries](https://github.com/open-telemetry/). If so, please [open an issue on opentelemetry-specification](https://github.com/open-telemetry/opentelemetry-specification/issues/new) first.

### Is your feature request related to a problem? Please describe.

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
### Describe the solution you'd like

A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
### Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
### Additional context

Add any other context or screenshots about the feature request here.
17 changes: 11 additions & 6 deletions .github/ISSUE_TEMPLATE/plugin_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,26 @@ labels: plugin-request
You are welcome to try out the [plugin api](https://github.com/open-telemetry/opentelemetry-js/blob/master/doc/plugin-guide.md) to build your own plugin. If you do try out the plugin api, please let us know if you have any questions/feedback.
-->

**Is your plugin request related to a problem? Please describe.**
### Is your plugin request related to a problem? Please describe

<!--
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
-->

**Is it applicable for Node or Browser or both**
### Is it applicable for Node or Browser or both

### Do you expect this plugin to be commonly used

**Do you expect this plugin to be commonly used**
Weekly Downloads:

**What version of plugin are you interested in using**
### What version of plugin are you interested in using

Versions:

**Additional context**
### Additional context

<!--
Add any other context or screenshots about the plugin request here.
-->
- **Is there a reference you could point for the well-defined lifecycle methods**

#### Is there a reference you could point for the well-defined lifecycle methods**
3 changes: 2 additions & 1 deletion .markdownlint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"MD013": false,
"MD024": false,
"MD033": false,
"MD041": false
"MD041": false,
"MD026": false
}
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,76 @@ All notable changes to this project will be documented in this file.

## Unreleased

## 0.9.0

### :boom: Breaking Change

* `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`
* [#1120](https://github.com/open-telemetry/opentelemetry-js/pull/1120) feat: add the UpDownCounter instrument ([@mayurkale22](https://github.com/mayurkale22))
* [#1126](https://github.com/open-telemetry/opentelemetry-js/pull/1126) feat!: remove label keys as they are no longer part of the spec ([@naseemkullah](https://github.com/naseemkullah))
* `opentelemetry-api`, `opentelemetry-metrics`
* [#1117](https://github.com/open-telemetry/opentelemetry-js/pull/1117) chore: rename meaure to value recorder ([@dyladan](https://github.com/dyladan))
* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-tracing`
* [#1058](https://github.com/open-telemetry/opentelemetry-js/pull/1058) feat: spec compliant sampling result support ([@legendecas](https://github.com/legendecas))

### :rocket: (Enhancement)

* Other
* [#1181](https://github.com/open-telemetry/opentelemetry-js/pull/1181) feat: add node-plugins-all package ([@dyladan](https://github.com/dyladan))
* `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-web`
* [#1121](https://github.com/open-telemetry/opentelemetry-js/pull/1121) chore: adding plugin-fetch and example ([@obecny](https://github.com/obecny))
* `opentelemetry-node`
* [#1153](https://github.com/open-telemetry/opentelemetry-js/pull/1153) feat: add OPENTELEMETRY_NO_PATCH_MODULES ([@markwolff](https://github.com/markwolff))
* [#1151](https://github.com/open-telemetry/opentelemetry-js/pull/1151) chore(todo): add missing span sampling test ([@markwolff](https://github.com/markwolff))
* `opentelemetry-exporter-jaeger`
* [#965](https://github.com/open-telemetry/opentelemetry-js/pull/965) feat(opentelemetry-exporter-jaeger): http sender ([@leonardodalcin](https://github.com/leonardodalcin))
* `opentelemetry-exporter-zipkin`
* [#1138](https://github.com/open-telemetry/opentelemetry-js/pull/1138) feat(opentelemetry-js): infer zipkin service name from resource ([@rezakrimi](https://github.com/rezakrimi))
* `opentelemetry-plugin-xml-http-request`
* [#1133](https://github.com/open-telemetry/opentelemetry-js/pull/1133) fix(plugin-xml-http-request): support sync requests ([@johnbley](https://github.com/johnbley))
* `opentelemetry-metrics`
* [#1145](https://github.com/open-telemetry/opentelemetry-js/pull/1145) chore: creating new metric kind ([@obecny](https://github.com/obecny))
* `opentelemetry-exporter-collector`
* [#1204](https://github.com/open-telemetry/opentelemetry-js/pull/1204) feat: collector exporter custom headers and metadata ([@mwear](https://github.com/mwear))
* `opentelemetry-exporter-zipkin`
* [#1202](https://github.com/open-telemetry/opentelemetry-js/pull/1202) Adds possibility to set headers to zipkin exporter ([@obecny](https://github.com/obecny))

### :bug: (Bug Fix)

* `opentelemetry-exporter-collector`
* [#1197](https://github.com/open-telemetry/opentelemetry-js/pull/1197) fix(exporter-collector): default endpoint for node and browser ([@davidwitten](https://github.com/davidwitten))
* `opentelemetry-context-zone-peer-dep`
* [#1209](https://github.com/open-telemetry/opentelemetry-js/pull/1209) chore: fixing zone from which to fork a new zone ([@obecny](https://github.com/obecny))

### :sparkles: (Feature)

* `opentelemetry-semantic-conventions`
* [#1160](https://github.com/open-telemetry/opentelemetry-js/pull/1160) refactor(attributes): move enums to @opentelemetry/semantic-conventions ([@markwolff](https://github.com/markwolff))

### :books: (Refine Doc)

* Other
* [#1192](https://github.com/open-telemetry/opentelemetry-js/pull/1192) Fix_typo ([@shivkanya9146](https://github.com/shivkanya9146))
* [#1147](https://github.com/open-telemetry/opentelemetry-js/pull/1147) ci: lint markdown files ([@naseemkullah](https://github.com/naseemkullah))
* [#1142](https://github.com/open-telemetry/opentelemetry-js/pull/1142) chore: template prometheus endpoint in examples rather than hardcode ([@naseemkullah](https://github.com/naseemkullah))
* [#1217](https://github.com/open-telemetry/opentelemetry-js/pull/1217) chore: fix markdown linting and add npm script ([@dyladan](https://github.com/dyladan))

#### Committers: 13

* David W. ([@davidwitten](https://github.com/davidwitten))
* Bartlomiej Obecny ([@obecny](https://github.com/obecny))
* Daniel Dyla ([@dyladan](https://github.com/dyladan))
* Mark Wolff ([@markwolff](https://github.com/markwolff))
* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22))
* Naseem ([@naseemkullah](https://github.com/naseemkullah))
* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud))
* legendecas ([@legendecas](https://github.com/legendecas))
* Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146))
* Leonardo Dalcin ([@leonardodalcin](https://github.com/leonardodalcin))
* [@rezakrimi](https://github.com/rezakrimi)
* John Bley ([@johnbley](https://github.com/johnbley))
* Matthew Wear ([@mwear](https://github.com/mwear))

## 0.8.3

### :rocket: (Enhancement)
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ Approvers ([@open-telemetry/js-approvers](https://github.com/orgs/open-telemetry
- [Bartlomiej Obecny](https://github.com/obecny), LightStep
- [Matthew Wear](https://github.com/mwear), LightStep
- [Naseem K. Ullah](https://github.com/naseemkullah), Transit
- [Chengzhong Wu](https://github.com/legendecas), Alibaba

*Find more about the approver role in [community repository](https://github.com/open-telemetry/community/blob/master/community-membership.md#approver).*

Expand Down Expand Up @@ -205,6 +206,7 @@ These plugins are hosted at <https://github.com/open-telemetry/opentelemetry-js-
##### Core

- [@opentelemetry/plugin-xml-http-request][otel-plugin-xml-http-request]
- [@opentelemetry/plugin-fetch][otel-plugin-fetch]

##### Contrib

Expand Down Expand Up @@ -240,6 +242,7 @@ Apache 2.0 - See [LICENSE][license-url] for more information.
[otel-metrics]: https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-metrics
[otel-node]: https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node

[otel-plugin-fetch]: https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-plugin-fetch
[otel-plugin-grpc]: https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-plugin-grpc
[otel-plugin-http]: https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-plugin-http
[otel-plugin-https]: https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-plugin-https
Expand Down
8 changes: 4 additions & 4 deletions examples/basic-tracer-node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-basic-tracer-node",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"description": "Example of using @opentelemetry/tracing in Node.js",
"main": "index.js",
"scripts": {
Expand All @@ -24,9 +24,9 @@
"url": "https://github.com/open-telemetry/opentelemetry-js/issues"
},
"dependencies": {
"@opentelemetry/api": "^0.8.3",
"@opentelemetry/exporter-jaeger": "^0.8.3",
"@opentelemetry/tracing": "^0.8.3"
"@opentelemetry/api": "^0.9.0",
"@opentelemetry/exporter-jaeger": "^0.9.0",
"@opentelemetry/tracing": "^0.9.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js#readme"
}
8 changes: 4 additions & 4 deletions examples/collector-exporter-node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-collector-exporter-node",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"description": "Example of using @opentelemetry/collector-exporter in Node.js",
"main": "index.js",
"scripts": {
Expand All @@ -26,9 +26,9 @@
"url": "https://github.com/open-telemetry/opentelemetry-js/issues"
},
"dependencies": {
"@opentelemetry/api": "^0.8.3",
"@opentelemetry/exporter-collector": "^0.8.3",
"@opentelemetry/tracing": "^0.8.3"
"@opentelemetry/api": "^0.9.0",
"@opentelemetry/exporter-collector": "^0.9.0",
"@opentelemetry/tracing": "^0.9.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js#readme"
}
14 changes: 7 additions & 7 deletions examples/grpc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grpc-example",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"description": "Example of gRPC integration with OpenTelemetry",
"main": "index.js",
"scripts": {
Expand All @@ -28,12 +28,12 @@
"url": "https://github.com/open-telemetry/opentelemetry-js/issues"
},
"dependencies": {
"@opentelemetry/api": "^0.8.3",
"@opentelemetry/exporter-jaeger": "^0.8.3",
"@opentelemetry/exporter-zipkin": "^0.8.3",
"@opentelemetry/node": "^0.8.3",
"@opentelemetry/plugin-grpc": "^0.8.3",
"@opentelemetry/tracing": "^0.8.3",
"@opentelemetry/api": "^0.9.0",
"@opentelemetry/exporter-jaeger": "^0.9.0",
"@opentelemetry/exporter-zipkin": "^0.9.0",
"@opentelemetry/node": "^0.9.0",
"@opentelemetry/plugin-grpc": "^0.9.0",
"@opentelemetry/tracing": "^0.9.0",
"google-protobuf": "^3.9.2",
"grpc": "^1.23.3",
"node-pre-gyp": "0.12.0"
Expand Down
14 changes: 7 additions & 7 deletions examples/http/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "http-example",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"description": "Example of HTTP integration with OpenTelemetry",
"main": "index.js",
"scripts": {
Expand All @@ -28,12 +28,12 @@
"url": "https://github.com/open-telemetry/opentelemetry-js/issues"
},
"dependencies": {
"@opentelemetry/api": "^0.8.3",
"@opentelemetry/exporter-jaeger": "^0.8.3",
"@opentelemetry/exporter-zipkin": "^0.8.3",
"@opentelemetry/node": "^0.8.3",
"@opentelemetry/plugin-http": "^0.8.3",
"@opentelemetry/tracing": "^0.8.3"
"@opentelemetry/api": "^0.9.0",
"@opentelemetry/exporter-jaeger": "^0.9.0",
"@opentelemetry/exporter-zipkin": "^0.9.0",
"@opentelemetry/node": "^0.9.0",
"@opentelemetry/plugin-http": "^0.9.0",
"@opentelemetry/tracing": "^0.9.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js#readme",
"devDependencies": {
Expand Down
14 changes: 7 additions & 7 deletions examples/https/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "https-example",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"description": "Example of HTTPs integration with OpenTelemetry",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -29,12 +29,12 @@
"url": "https://github.com/open-telemetry/opentelemetry-js/issues"
},
"dependencies": {
"@opentelemetry/api": "^0.8.3",
"@opentelemetry/exporter-jaeger": "^0.8.3",
"@opentelemetry/exporter-zipkin": "^0.8.3",
"@opentelemetry/node": "^0.8.3",
"@opentelemetry/plugin-https": "^0.8.3",
"@opentelemetry/tracing": "^0.8.3"
"@opentelemetry/api": "^0.9.0",
"@opentelemetry/exporter-jaeger": "^0.9.0",
"@opentelemetry/exporter-zipkin": "^0.9.0",
"@opentelemetry/node": "^0.9.0",
"@opentelemetry/plugin-https": "^0.9.0",
"@opentelemetry/tracing": "^0.9.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js#readme",
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions examples/metrics/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-metrics",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"description": "Example of using @opentelemetry/metrics",
"main": "index.js",
"scripts": {
Expand All @@ -26,8 +26,8 @@
"url": "https://github.com/open-telemetry/opentelemetry-js/issues"
},
"dependencies": {
"@opentelemetry/exporter-prometheus": "^0.8.3",
"@opentelemetry/metrics": "^0.8.3"
"@opentelemetry/exporter-prometheus": "^0.9.0",
"@opentelemetry/metrics": "^0.9.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js#readme"
}
12 changes: 6 additions & 6 deletions examples/opentracing-shim/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "opentracing-shim",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"description": "Example of using @opentelemetry/shim-opentracing in Node.js",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -29,11 +29,11 @@
"url": "https://github.com/open-telemetry/opentelemetry-js/issues"
},
"dependencies": {
"@opentelemetry/exporter-jaeger": "^0.8.3",
"@opentelemetry/exporter-zipkin": "^0.8.3",
"@opentelemetry/node": "^0.8.3",
"@opentelemetry/shim-opentracing": "^0.8.3",
"@opentelemetry/tracing": "^0.8.3",
"@opentelemetry/exporter-jaeger": "^0.9.0",
"@opentelemetry/exporter-zipkin": "^0.9.0",
"@opentelemetry/node": "^0.9.0",
"@opentelemetry/shim-opentracing": "^0.9.0",
"@opentelemetry/tracing": "^0.9.0",
"opentracing": "^0.14.4"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js#readme",
Expand Down
6 changes: 3 additions & 3 deletions examples/prometheus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prometheus-example",
"version": "0.8.3",
"version": "0.9.0",
"description": "Example of using @opentelemetry/metrics and @opentelemetry/exporter-prometheus",
"main": "index.js",
"scripts": {
Expand All @@ -9,7 +9,7 @@
"author": "OpenTelemetry Authors",
"license": "Apache-2.0",
"dependencies": {
"@opentelemetry/exporter-prometheus": "^0.8.3",
"@opentelemetry/metrics": "^0.8.3"
"@opentelemetry/exporter-prometheus": "^0.9.0",
"@opentelemetry/metrics": "^0.9.0"
}
}
4 changes: 4 additions & 0 deletions examples/tracer-web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ The screen will look as follows:

![Screenshot of the running example](images/xml-http-request.png)

### Fetch

To see the results, open the browser at <http://localhost:8090/fetch/> and make sure you have the browser console open. The application is using the `ConsoleSpanExporter` and will post the created spans to the browser console.

## Useful links

- For more information on OpenTelemetry, visit: <https://opentelemetry.io/>
Expand Down
Loading