File tree Expand file tree Collapse file tree
experimental/packages/opentelemetry-sdk-node/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- /* eslint no-restricted-syntax: ["warn", "ExportAllDeclaration"] --
18- * TODO: Replace wildcard export with named exports before next major version
19- */
17+ // This is a meta-package, and these exist in to re-export *all* items from
18+ // the individual packages as individual _namespaces_, so wildcard exports are
19+ // appropriate here. Otherwise, it'd be a pain to enumerate and keep things
20+ // in-sync with all the upstream packages.
21+
22+ /* eslint-disable no-restricted-syntax */
2023export * as api from '@opentelemetry/api' ;
2124export * as contextBase from '@opentelemetry/api' ;
2225export * as core from '@opentelemetry/core' ;
@@ -25,6 +28,8 @@ export * as metrics from '@opentelemetry/sdk-metrics';
2528export * as node from '@opentelemetry/sdk-trace-node' ;
2629export * as resources from '@opentelemetry/resources' ;
2730export * as tracing from '@opentelemetry/sdk-trace-base' ;
31+ /* eslint-enable no-restricted-syntax */
32+
2833export { NodeSDK } from './sdk' ;
2934export type { LoggerProviderConfig , MeterProviderConfig } from './sdk' ;
3035export type { NodeSDKConfiguration } from './types' ;
You can’t perform that action at this time.
0 commit comments