Skip to content

Commit

Permalink
Revert "chore: un-export the unreleased resource detector until after…
Browse files Browse the repository at this point in the history
… the next release (#519)" (#520)

This reverts commit cb94746.
  • Loading branch information
aabmass authored Feb 2, 2023
1 parent cb94746 commit ca36adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions e2e-test-server/src/scenarios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ import {
TraceExporter,
TraceExporterOptions,
} from '@google-cloud/opentelemetry-cloud-trace-exporter';
// TOOD(#518) remove full import path once it is expose in the package's root index.ts file
import {GcpDetector} from '@google-cloud/opentelemetry-resource-util/build/src/detector/detector';
import {GcpDetector} from '@google-cloud/opentelemetry-resource-util';
import * as constants from './constants';
import {context, SpanKind} from '@opentelemetry/api';
import {AsyncHooksContextManager} from '@opentelemetry/context-async-hooks';
Expand Down
3 changes: 1 addition & 2 deletions packages/opentelemetry-resource-util/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,5 +283,4 @@ function createMonitoredResource(
};
}

// TODO(518): publicly expose the resource detector
// export {GcpDetector} from './detector/detector';
export {GcpDetector} from './detector/detector';

0 comments on commit ca36adf

Please sign in to comment.