Skip to content

Commit

Permalink
Update payment.md code sample to require ./index.js
Browse files Browse the repository at this point in the history
The description paragraph mentions:
> It then requires your app at ./index.js to start it up once the SDK is initialized.

This seems to be missing from the code sample.
  • Loading branch information
marleypowell authored and chalin committed Jun 11, 2024
1 parent 66b62d8 commit a9cc4ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/en/docs/demo/services/payment.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ const sdk = new opentelemetry.NodeSDK({
});

sdk.start();

require('./index.js');
```

You can then use `opentelemetry.js` to start your app. This can be done in the
Expand Down

0 comments on commit a9cc4ee

Please sign in to comment.