Skip to content

Commit

Permalink
Update www/src/content/docs/components/Otel-middleware.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Brett Beutell <[email protected]>
  • Loading branch information
Nlea and brettimus authored Aug 20, 2024
1 parent 055247f commit a4b4783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/src/content/docs/components/Otel-middleware.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default instrument(app);
```

## Configuration
By default, the Otel Hono middleware does not send traces. To define an endpoint, you need to set the `FPX_ENDPOINT` environment variable.
By default, the Hono Otel middleware does not send traces. To define an endpoint, you need to set the `FPX_ENDPOINT` environment variable.

When starting Fiberplane Studio via the command line with `npx @fiberplane/studio`, the `FPX_ENDPOINT` is automatically set to the Fiberplane Studio's default port 8788: `http://localhost:8788/v1/traces`. Additionally, the Fiberplane Studio CLI setup enables Node.js compatibility mode for Cloudflare Workers.

Expand Down

0 comments on commit a4b4783

Please sign in to comment.