Skip to content

Commit

Permalink
feat(plugin): add http plugin
Browse files Browse the repository at this point in the history
Closes open-telemetry#157

Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
  • Loading branch information
OlivierAlbertini committed Aug 30, 2019
1 parent b9c9212 commit 4b140a3
Show file tree
Hide file tree
Showing 8 changed files with 844 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/opentelemetry-node-tracer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
* limitations under the License.
*/

export * from './NodeTracer';
export * from './NodeTracer';
1 change: 1 addition & 0 deletions packages/opentelemetry-node-tracer/test/NodeTracer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
} from '@opentelemetry/core';
import { AsyncHooksScopeManager } from '@opentelemetry/scope-async-hooks';
import { NodeTracer } from '../src/NodeTracer';
import { EventEmitter } from 'events';

describe('NodeTracer', () => {
describe('constructor', () => {
Expand Down
13 changes: 12 additions & 1 deletion packages/opentelemetry-plugin-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,30 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/scope-async-hooks": "^0.0.1",
"@types/mocha": "^5.2.7",
"@types/node": "^12.6.9",
"@types/semver": "^6.0.1",
"@types/shimmer": "^1.0.1",
"@types/sinon":"^7.0.13",
"codecov": "^3.5.0",
"gts": "^1.1.0",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"sinon": "^7.3.2",
"c8": "^5.0.1",
"nock": "^10.0.6",
"ts-mocha": "^6.0.0",
"ts-node": "^8.3.0",
"typescript": "^3.5.3"
},
"dependencies": {
"@opentelemetry/core": "^0.0.1",
"@opentelemetry/node-tracer": "^0.0.1",
"@opentelemetry/types": "^0.0.1"
"@opentelemetry/types": "^0.0.1",
"@types/nock": "^10.0.3",
"nock": "^10.0.6",
"semver": "^6.3.0",
"shimmer": "^1.2.1"
}
}
Loading

0 comments on commit 4b140a3

Please sign in to comment.