We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ecbac3 commit e166140Copy full SHA for e166140
src/instrumentation.node.ts
@@ -98,16 +98,11 @@ export async function nodeSDKBuilder() {
98
? new SentrySampler(sentryClient)
99
: undefined;
100
101
- const detectedResource = detectResources({
102
- detectors: [gcpDetector],
103
- });
104
- await detectedResource.waitForAsyncAttributes?.();
105
-
106
const sdk = new NodeSDK({
107
resource: resourceFromAttributes({
108
[ATTR_SERVICE_NAME]: appConfig.otel.serviceName,
109
...parseKVList(appConfig.otel.resourceAttributes),
110
- }).merge(detectedResource),
+ }),
111
metricReaders: [
112
new PeriodicExportingMetricReader({
113
exporter: metricExporter,
0 commit comments