Skip to content

Commit

Permalink
Update payment.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marleypowell authored Jun 13, 2024
1 parent a9cc4ee commit 987d251
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions content/en/docs/demo/services/payment.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,13 @@ 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
`ENTRYPOINT` command for the service's `Dockerfile`.

```dockerfile
ENTRYPOINT [ "node", "./opentelemetry.js" ]
ENTRYPOINT [ "node", "--require", "./opentelemetry.js", "./index.js" ]
```

## Traces
Expand Down

0 comments on commit 987d251

Please sign in to comment.