Skip to content

Commit

Permalink
OTEL_DENO=1 -> OTEL_DENO=true (#1333)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored Jan 15, 2025
1 parent dc6d3ff commit ae64fe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion runtime/_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const sidebar = [
id: "/runtime/fundamentals/http_server/",
},
{
label: "Open Telemetry",
label: "OpenTelemetry",
id: "/runtime/fundamentals/open_telemetry/",
},
"/runtime/fundamentals/stability_and_releases/",
Expand Down
6 changes: 3 additions & 3 deletions runtime/fundamentals/open_telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ Deno provides the following features:
## Quick start

To enable the OpenTelemetry integration, run your Deno script with the
`--unstable-otel` flag and set the environment variable `OTEL_DENO=1`:
`--unstable-otel` flag and set the environment variable `OTEL_DENO=true`:

```sh
OTEL_DENO=1 deno run --unstable-otel my_script.ts
OTEL_DENO=true deno run --unstable-otel my_script.ts
```

This will automatically collect and export runtime observability data to an
Expand Down Expand Up @@ -524,7 +524,7 @@ Learn more about the full context API in the

## Configuration

The OpenTelemetry integration can be enabled by setting the `OTEL_DENO=1`
The OpenTelemetry integration can be enabled by setting the `OTEL_DENO=true`
environment variable.

The endpoint and protocol for the OTLP exporter can be configured using the
Expand Down

0 comments on commit ae64fe6

Please sign in to comment.