diff --git a/src/sdk.ts b/src/sdk.ts index a36a518..1bb63d5 100644 --- a/src/sdk.ts +++ b/src/sdk.ts @@ -29,7 +29,7 @@ import { instrumentGlobalCache } from './instrumentation/cache.js' import { createQueueHandler } from './instrumentation/queue.js' import { DOClass, instrumentDOClass } from './instrumentation/do.js' import { createScheduledHandler } from './instrumentation/scheduled.js' -import { name, version } from '../package.json' +// import { name, version } from '../package.json' type FetchHandler = ExportedHandlerFetchHandler type ScheduledHandler = ExportedHandlerScheduledHandler @@ -57,8 +57,8 @@ const createResource = (config: ResolvedTraceConfig): Resource => { 'cloud.region': 'earth', 'faas.max_memory': 134217728, 'telemetry.sdk.language': 'js', - 'telemetry.sdk.name': name, - 'telemetry.sdk.version': version, + 'telemetry.sdk.name': '@microlabs/otel-cf-workers', + 'telemetry.sdk.version': '1.0.0-rc.X', } const serviceResource = new Resource({ 'service.name': config.service.name,