Skip to content

Commit 60612f2

Browse files
authored
chore: set isolatedModules compilation option (#2839)
1 parent 825441a commit 60612f2

File tree

61 files changed

+312
-121
lines changed
  • detectors/node/opentelemetry-resource-detector-github/src
  • incubator/opentelemetry-sampler-aws-xray/src
  • metapackages
  • packages
  • plugins
    • node
      • instrumentation-amqplib/src
      • instrumentation-cucumber/src
      • instrumentation-dataloader/src
      • instrumentation-fs/src
      • instrumentation-kafkajs/src
      • instrumentation-lru-memoizer/src
      • instrumentation-mongoose/src
      • instrumentation-runtime-node/src
      • instrumentation-socket.io/src
      • instrumentation-tedious/src
      • instrumentation-typeorm/src
      • instrumentation-undici/src
      • opentelemetry-instrumentation-aws-lambda/src
      • opentelemetry-instrumentation-aws-sdk/src
      • opentelemetry-instrumentation-bunyan/src
      • opentelemetry-instrumentation-cassandra/src
      • opentelemetry-instrumentation-connect/src
      • opentelemetry-instrumentation-dns/src
      • opentelemetry-instrumentation-express/src
      • opentelemetry-instrumentation-fastify/src
      • opentelemetry-instrumentation-generic-pool/src
      • opentelemetry-instrumentation-graphql/src
      • opentelemetry-instrumentation-hapi/src
      • opentelemetry-instrumentation-ioredis/src
      • opentelemetry-instrumentation-knex/src
      • opentelemetry-instrumentation-koa/src
      • opentelemetry-instrumentation-memcached/src
      • opentelemetry-instrumentation-mongodb/src
      • opentelemetry-instrumentation-mysql2/src
      • opentelemetry-instrumentation-mysql/src
      • opentelemetry-instrumentation-nestjs-core/src
      • opentelemetry-instrumentation-net/src
      • opentelemetry-instrumentation-oracledb/src
      • opentelemetry-instrumentation-pg/src
      • opentelemetry-instrumentation-pino/src
      • opentelemetry-instrumentation-redis-4/src
      • opentelemetry-instrumentation-redis/src
      • opentelemetry-instrumentation-restify/src
      • opentelemetry-instrumentation-router/src
      • opentelemetry-instrumentation-winston/src
    • web
      • opentelemetry-instrumentation-document-load/src
      • opentelemetry-instrumentation-long-task/src
      • opentelemetry-instrumentation-user-interaction/src
      • opentelemetry-plugin-react-load/src
  • propagators/opentelemetry-propagator-ot-trace/src

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+312
-121
lines changed

detectors/node/opentelemetry-resource-detector-github/src/detectors/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
export * from './GitHubDetector';
16+
export { gitHubDetector } from './GitHubDetector';

detectors/node/opentelemetry-resource-detector-github/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
export * from './detectors';
16+
export { gitHubDetector } from './detectors';

incubator/opentelemetry-sampler-aws-xray/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
export * from './remote-sampler';
17-
export { AWSXRayRemoteSamplerConfig } from './types';
16+
export { AWSXRayRemoteSampler, _AWSXRayRemoteSampler } from './remote-sampler';
17+
export type { AWSXRayRemoteSamplerConfig } from './types';

metapackages/auto-instrumentations-node/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
1716
export {
1817
getNodeAutoInstrumentations,
1918
getResourceDetectorsFromEnv as getResourceDetectors,
20-
InstrumentationConfigMap,
2119
} from './utils';
20+
export type { InstrumentationConfigMap } from './utils';

metapackages/auto-instrumentations-web/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
17-
export { getWebAutoInstrumentations, InstrumentationConfigMap } from './utils';
16+
export { getWebAutoInstrumentations } from './utils';
17+
export type { InstrumentationConfigMap } from './utils';

packages/baggage-log-record-processor/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
*/
1616

1717
export { BaggageLogRecordProcessor } from './baggage-log-record-processor';
18-
export { ALLOW_ALL_BAGGAGE_KEYS, BaggageKeyPredicate } from './types';
18+
export { ALLOW_ALL_BAGGAGE_KEYS } from './types';
19+
export type { BaggageKeyPredicate } from './types';

packages/baggage-span-processor/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
*/
1616

1717
export { BaggageSpanProcessor } from './baggage-span-processor';
18-
export { ALLOW_ALL_BAGGAGE_KEYS, BaggageKeyPredicate } from './types';
18+
export { ALLOW_ALL_BAGGAGE_KEYS } from './types';
19+
export type { BaggageKeyPredicate } from './types';

packages/opentelemetry-host-metrics/src/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
export * from './BaseMetrics';
18-
export * from './metric';
19-
export * from './types';
17+
export { BaseMetrics } from './BaseMetrics';
18+
export type { MetricsCollectorConfig } from './BaseMetrics';
19+
export { HostMetrics } from './metric';
20+
export type { CpuUsageData, MemoryData, ProcessCpuUsageData } from './types';

packages/opentelemetry-id-generator-aws-xray/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
export * from './platform';
16+
export { AWSXRayIdGenerator } from './platform';

packages/opentelemetry-id-generator-aws-xray/src/platform/browser/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
* limitations under the License.
1515
*/
1616

17-
export * from './AWSXRayIdGenerator';
17+
export { AWSXRayIdGenerator } from './AWSXRayIdGenerator';

0 commit comments

Comments
 (0)