Skip to content

Commit 9069dca

Browse files
committed
testing payment fixed frontend startup
1 parent 7bce024 commit 9069dca

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

kubernetes/opentelemetry-demo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,8 +797,8 @@ spec:
797797
serviceAccountName: opentelemetry-demo
798798
containers:
799799
- name: accounting
800-
image: 'ghcr.io/open-telemetry/demo:2.1.3-accounting'
801-
#image: 'ghcr.io/splunk/opentelemetry-demo/otel-accounting:0.0.1'
800+
#image: 'ghcr.io/open-telemetry/demo:2.1.3-accounting'
801+
image: 'ghcr.io/splunk/opentelemetry-demo/otel-accounting:2.1.3'
802802
imagePullPolicy: Always
803803
env:
804804
- name: OTEL_SERVICE_NAME

src/frontend/utils/telemetry/Instrumentation.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@
4040

4141
// sdk.start();
4242
const { startTracing } = require('@splunk/otel');
43-
44-
start({
43+
startTracing({
4544
serviceName: process.env.OTEL_SERVICE_NAME || 'frontend',
46-
// serviceVersion: process.env.OTEL_SERVICE_VERSION,
47-
// Splunk automatically handles resource detection and instrumentations
48-
});
45+
});
46+
// start({
47+
// serviceName: process.env.OTEL_SERVICE_NAME || 'frontend',
48+
// // serviceVersion: process.env.OTEL_SERVICE_VERSION,
49+
// // Splunk automatically handles resource detection and instrumentations
50+
// });

0 commit comments

Comments
 (0)