Skip to content

Commit

Permalink
chore: rename node-tracer to node-sdk (#266)
Browse files Browse the repository at this point in the history
* chore: rename node-tracer to node-sdk

* fix: build
  • Loading branch information
mayurkale22 authored Sep 19, 2019
1 parent 03ef951 commit 7fc72dc
Show file tree
Hide file tree
Showing 50 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ We have a weekly SIG meeting! See the [community page](https://github.com/open-t
| Package | Description |
| ----------------------- | -----------------|
| [@opentelemetry/basic-tracer](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-basic-tracer) | This module provides a full control over instrumentation and span creation. It doesn't load [`async_hooks`](https://nodejs.org/api/async_hooks.html) or any instrumentation plugin by default. It is intended for use both on the server and in the browser. |
| [@opentelemetry/node-tracer](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-tracer) | This module provides automatic tracing for Node.js applications. It is intended for use on the server only. |
| [@opentelemetry/node-sdk](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-sdk) | This module provides automatic tracing for Node.js applications. It is intended for use on the server only. |

### Exporters

Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-basic-tracer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This module provides a full control over instrumentation and span creation. It doesn't load [`async_hooks`](https://nodejs.org/api/async_hooks.html) or any instrumentation plugin by default. It is intended for use both on the server and in the browser.

For automatic instrumentation see the
[@opentelemetry/node-tracer](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-tracer) package.
[@opentelemetry/node-sdk](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-sdk) package.

## Installation

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpenTelemetry Node Tracer SDK
# OpenTelemetry Node SDK
[![Gitter chat][gitter-image]][gitter-url]
[![dependencies][dependencies-image]][dependencies-url]
[![devDependencies][devDependencies-image]][devDependencies-url]
Expand All @@ -15,13 +15,13 @@ For manual instrumentation see the
## Installation

```
npm install --save @opentelemetry/node-tracer
npm install --save @opentelemetry/node-sdk
```

## Usage

```
const opentelemetry = require('@opentelemetry/node-tracer');
const opentelemetry = require('@opentelemetry/node-sdk');
// TODO: DEMONSTRATE API
```
Expand All @@ -39,7 +39,7 @@ Apache 2.0 - See [LICENSE][license-url] for more information.
[gitter-url]: https://gitter.im/open-telemetry/opentelemetry-node?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
[license-url]: https://github.com/open-telemetry/opentelemetry-js/blob/master/LICENSE
[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat
[dependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js/status.svg?path=packages/opentelemetry-node-tracer
[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-node-tracer
[devDependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js/dev-status.svg?path=packages/opentelemetry-node-tracer
[devDependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-node-tracer&type=dev
[dependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js/status.svg?path=packages/opentelemetry-node-sdk
[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-node-sdk
[devDependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js/dev-status.svg?path=packages/opentelemetry-node-sdk
[devDependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-node-sdk&type=dev
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@opentelemetry/node-tracer",
"name": "@opentelemetry/node-sdk",
"version": "0.0.1",
"description": "OpenTelemetry Automatic Node Tracer",
"description": "OpenTelemetry Node SDK provides automatic telemetry (tracing, metrics, etc) for Node.js applications",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"repository": "open-telemetry/opentelemetry-js",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-grpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This module provides automatic instrumentation for [`grpc`](https://grpc.github.io/grpc/node/).

For automatic instrumentation see the
[@opentelemetry/node-tracer](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-tracer) package.
[@opentelemetry/node-sdk](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-sdk) package.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-grpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"dependencies": {
"@opentelemetry/basic-tracer": "^0.0.1",
"@opentelemetry/core": "^0.0.1",
"@opentelemetry/node-tracer": "^0.0.1",
"@opentelemetry/node-sdk": "^0.0.1",
"@opentelemetry/scope-async-hooks": "^0.0.1",
"@opentelemetry/types": "^0.0.1",
"shimmer": "^1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-grpc/test/grpc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
SimpleSpanProcessor,
} from '@opentelemetry/basic-tracer';
import { SpanKind, Tracer } from '@opentelemetry/types';
import { NodeTracer } from '@opentelemetry/node-tracer';
import { NodeTracer } from '@opentelemetry/node-sdk';

import { assertSpan, assertPropagation } from './utils/assertionUtils';
import { GrpcPlugin, plugin } from '../src';
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This module provides automatic instrumentation for [`http`](https://nodejs.org/api/http.html).

For automatic instrumentation see the
[@opentelemetry/node-tracer](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-tracer) package.
[@opentelemetry/node-sdk](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-sdk) package.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
},
"dependencies": {
"@opentelemetry/core": "^0.0.1",
"@opentelemetry/node-tracer": "^0.0.1",
"@opentelemetry/node-sdk": "^0.0.1",
"@opentelemetry/types": "^0.0.1",
"semver": "^6.3.0",
"shimmer": "^1.2.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import * as nock from 'nock';
import * as sinon from 'sinon';

import { plugin } from '../../src/http';
import { NodeTracer } from '@opentelemetry/node-tracer';
import { NodeTracer } from '@opentelemetry/node-sdk';
import { NoopLogger } from '@opentelemetry/core';
import { AddressInfo } from 'net';
import { DummyPropagation } from '../utils/DummyPropagation';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { HttpPlugin, plugin } from '../../src/http';
import { assertSpan } from '../utils/assertSpan';
import { DummyPropagation } from '../utils/DummyPropagation';
import { httpRequest } from '../utils/httpRequest';
import { NodeTracer } from '@opentelemetry/node-tracer';
import { NodeTracer } from '@opentelemetry/node-sdk';
import {
InMemorySpanExporter,
SimpleSpanProcessor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import * as superagent from 'superagent';
import * as got from 'got';
import * as request from 'request-promise-native';
import * as path from 'path';
import { NodeTracer } from '@opentelemetry/node-tracer';
import { NodeTracer } from '@opentelemetry/node-sdk';
import {
InMemorySpanExporter,
SimpleSpanProcessor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { DummyPropagation } from '../utils/DummyPropagation';
import { httpRequest } from '../utils/httpRequest';
import * as url from 'url';
import { Utils } from '../utils/Utils';
import { NodeTracer } from '@opentelemetry/node-tracer';
import { NodeTracer } from '@opentelemetry/node-sdk';
import {
InMemorySpanExporter,
SimpleSpanProcessor,
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-http2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This module provides automatic instrumentation for [`http2`](http://nodejs.org/dist/latest/docs/api/http2.html).

For automatic instrumentation see the
[@opentelemetry/node-tracer](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-tracer) package.
[@opentelemetry/node-sdk](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-sdk) package.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-http2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"dependencies": {
"@opentelemetry/core": "^0.0.1",
"@opentelemetry/node-tracer": "^0.0.1",
"@opentelemetry/node-sdk": "^0.0.1",
"@opentelemetry/types": "^0.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-https/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This module provides automatic instrumentation for [`https`](http://nodejs.org/dist/latest/docs/api/https.html).

For automatic instrumentation see the
[@opentelemetry/node-tracer](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-tracer) package.
[@opentelemetry/node-sdk](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-sdk) package.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-https/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"dependencies": {
"@opentelemetry/core": "^0.0.1",
"@opentelemetry/node-tracer": "^0.0.1",
"@opentelemetry/node-sdk": "^0.0.1",
"@opentelemetry/types": "^0.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-mongodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This module provides automatic instrumentation for [`mongodb`](https://github.com/mongodb/node-mongodb-native).

For automatic instrumentation see the
[@opentelemetry/node-tracer](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-tracer) package.
[@opentelemetry/node-sdk](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-sdk) package.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"dependencies": {
"@opentelemetry/core": "^0.0.1",
"@opentelemetry/node-tracer": "^0.0.1",
"@opentelemetry/node-sdk": "^0.0.1",
"@opentelemetry/types": "^0.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This module provides automatic instrumentation for [`redis`](https://github.com/NodeRedis/node_redis).

For automatic instrumentation see the
[@opentelemetry/node-tracer](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-tracer) package.
[@opentelemetry/node-sdk](https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-node-sdk) package.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"dependencies": {
"@opentelemetry/core": "^0.0.1",
"@opentelemetry/node-tracer": "^0.0.1",
"@opentelemetry/node-sdk": "^0.0.1",
"@opentelemetry/types": "^0.0.1"
}
}

0 comments on commit 7fc72dc

Please sign in to comment.