Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…try-js-contrib into master
  • Loading branch information
carolinee21 committed Jul 8, 2020
2 parents 3101050 + 2a248ab commit aa4fc44
Show file tree
Hide file tree
Showing 17 changed files with 106 additions and 176 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
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
* @open-telemetry/javascript-approvers
50 changes: 49 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,46 @@
# OpenTelemetry JavaScript Contrib
---
<p align="center">
<strong>
<a href="https://github.com/open-telemetry/opentelemetry-js/blob/master/getting-started/README.md">Getting Started<a/>
&nbsp;&nbsp;&bull;&nbsp;&nbsp;
<a href="https://open-telemetry.github.io/opentelemetry-js">API Documentation<a/>
&nbsp;&nbsp;&bull;&nbsp;&nbsp;
<a href="https://gitter.im/open-telemetry/opentelemetry-node">Getting In Touch (Gitter)<a/>
</strong>
</p>

<p align="center">
<a href="https://github.com/open-telemetry/opentelemetry-js-contrib/releases">
<img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/open-telemetry/opentelemetry-js?include_prereleases&style=for-the-badge">
</a>
<a href="https://codecov.io/gh/open-telemetry/opentelemetry-js-contrib/branch/master/">
<img alt="Codecov Status" src="https://img.shields.io/codecov/c/github/open-telemetry/opentelemetry-js-contrib?style=for-the-badge">
</a>
<a href="https://github.com/open-telemetry/opentelemetry-js-contrib/blob/master/LICENSE">
<img alt="license" src="https://img.shields.io/badge/license-Apache_2.0-green.svg?style=for-the-badge">
</a>
<br/>
<a href="https://circleci.com/gh/open-telemetry/opentelemetry-js-contrib">
<img alt="Build Status" src="https://circleci.com/gh/open-telemetry/opentelemetry-js-contrib.svg?style=shield">
</a>
<img alt="Beta" src="https://img.shields.io/badge/status-beta-informational?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAIRlWElmTU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAACQAAAAAQAAAJAAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAABigAwAEAAAAAQAAABgAAAAA8A2UOAAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAABK5JREFUSA2dVm1sFEUYfmd2b/f2Pkqghn5eEQWKrRgjpkYgpoRCLC0oxV5apAiGUDEpJvwxEQ2raWPU+Kf8INU/RtEedwTCR9tYPloxGNJYTTQUwYqJ1aNpaLH3sXu3t7vjvFevpSqt7eSyM+/czvM8877PzB3APBoLgoDLsNePF56LBwqa07EKlDGg84CcWsI4CEbhNnDpAd951lXE2NkiNknCCTLv4HtzZuvPm1C/IKv4oDNXqNDHragety2XVzjECZsJARuBMyRzJrh1O0gQwLXuxofxsPSj4hG8fMLQo7bl9JJD8XZfC1E5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T5qaRRAIFK3BCO164nZ0uYLH2YjNN8thXS2v2BK9gTfD7jHVxzHr4roOlEvYYz9QIz+Vl/sLDXInsctFsXjqIRnO2ZO387lxmIboLDZCJ59KLFliNIgh9ipt6tLg9SihpRPDO1ia5byw7de1aCQmF5geOQtK509rzfdwxaKOIq+73AvwCC5/5fcV4vo3+3LpMdtWHh0ywsJC/ZGoCb8/9D8F/ifgLLl8S8QWfU8cAAAAASUVORK5CYII=">
</p>

<p align="center">
<strong>
<a href="CONTRIBUTING.md">Contributing<a/>
&nbsp;&nbsp;&bull;&nbsp;&nbsp;
<a href="plugins/">Plugins<a/>
&nbsp;&nbsp;&bull;&nbsp;&nbsp;
<a href="propagators/">Propagators<a/>
&nbsp;&nbsp;&bull;&nbsp;&nbsp;
<a href="examples/">Examples<a/>
</strong>
</p>

---

## About this project

This is a repository for OpenTelemetry JavaScript contributions that are not part of the
[core repository](https://github.com/open-telemetry/opentelemetry-js) and
Expand Down Expand Up @@ -28,6 +70,12 @@ OpenTelemetry can collect tracing data automatically using plugins. Vendors/User
- [@opentelemetry/plugin-xml-http-request][otel-plugin-xml-http-request]
- [@opentelemetry/plugin-user-interaction][otel-plugin-user-interaction]

## Contributing

We'd love your help!. Use tags [up-for-grabs][up-for-grabs-issues] and
[good first issue][good-first-issues] to get started with the project. Follow
[CONTRIBUTING](CONTRIBUTING.md) guide to report issues or submit a proposal.

## Useful links

- For more information on OpenTelemetry, visit: <https://opentelemetry.io/>
Expand Down
44 changes: 0 additions & 44 deletions examples/basic-tracer-node/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions examples/basic-tracer-node/docker/ot/collector-config.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions examples/basic-tracer-node/docker/ot/docker-compose.yaml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
56 changes: 0 additions & 56 deletions examples/basic-tracer-node/index.js

This file was deleted.

32 changes: 0 additions & 32 deletions examples/basic-tracer-node/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion plugins/node/opentelemetry-plugin-ioredis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@opentelemetry/tracing": "0.9.0",
"@types/ioredis": "4.17.0",
"@types/mocha": "7.0.2",
"@types/node": "13.13.12",
"@types/node": "13.13.13",
"@types/shimmer": "1.0.1",
"codecov": "3.7.0",
"cross-env": "7.0.2",
Expand Down
2 changes: 1 addition & 1 deletion plugins/node/opentelemetry-plugin-pg-pool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"gts": "2.0.2",
"mocha": "7.2.0",
"nyc": "15.1.0",
"pg": "8.2.1",
"pg": "8.2.2",
"pg-pool": "3.2.1",
"rimraf": "3.0.2",
"ts-mocha": "7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion plugins/node/opentelemetry-plugin-pg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"gts": "2.0.2",
"mocha": "7.2.0",
"nyc": "15.1.0",
"pg": "8.2.1",
"pg": "8.2.2",
"rimraf": "3.0.2",
"ts-mocha": "7.0.0",
"ts-node": "8.10.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"typescript": "3.9.6",
"webpack": "4.43.0",
"webpack-cli": "3.3.12",
"webpack-merge": "5.0.7"
"webpack-merge": "5.0.8"
},
"dependencies": {
"@opentelemetry/api": "^0.9.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"typescript": "3.9.6",
"webpack": "4.43.0",
"webpack-cli": "3.3.12",
"webpack-merge": "5.0.7"
"webpack-merge": "5.0.8"
},
"dependencies": {
"@opentelemetry/api": "^0.9.0",
Expand Down
51 changes: 51 additions & 0 deletions propagators/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# OpenTelemetry Propagators

- [Built-in Propagators](#built-in-propagators)
- [Jaeger Propagator](#jaeger-propagator)
- [B3 Propagator](#b3-propagator)


### Built-in Propagators

OpenTelemetry core package provides many Built-in Propagators such as HttpTraceContext Propagator, B3 Propagator, Composite Propagator etc.

[Click here](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-core#built-in-propagators) to see Built-in Propagators.


### Jaeger Propagator

OpenTelemetry Jaeger propagator provides HTTP header propagation for systems that are using Jaeger HTTP header format.

```js
const api = require("@opentelemetry/api");
const { JaegerHttpTracePropagator } = require('@opentelemetry/propagator-jaeger');

/* Set Global Propagator */
api.propagation.setGlobalPropagator(new JaegerHttpTracePropagator());
```

[Click here](opentelemetry-propagator-jaeger/README.md) for more comprehensive examples.

### GRPC Census Propagator

OpenTelemetry gRPC Census propagator provides gRPC header propagation for systems that use the OpenCensus 'grpc-trace-bin' binary header format.

```js
const api = require("@opentelemetry/api");
const { GrpcCensusPropagator } = require("@opentelemetry/propagator-grpc-census-binary");

/* Set Global Propagator */
api.propagation.setGlobalPropagator(new GrpcCensusPropagator());
```

[Click here](opentelemetry-propagator-grpc-census-binary/README.md) for more comprehensive examples.


## Useful links

- For more information on OpenTelemetry, visit: <https://opentelemetry.io/>
- For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js>

## License

Apache 2.0 - See [LICENSE][license-url] for more information.

0 comments on commit aa4fc44

Please sign in to comment.