Skip to content

Commit 0e2949c

Browse files
authored
backport 9353 (#9453)
1 parent 3da4504 commit 0e2949c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/forty-things-beam.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
Point to the right location for docs on telemetry

packages/wrangler/src/__tests__/metrics.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ describe("metrics", () => {
566566
567567
To configure telemetry globally on this machine, you can run \`wrangler telemetry disable / enable\`.
568568
You can override this for individual projects with the environment variable \`WRANGLER_SEND_METRICS=true/false\`.
569-
Learn more at https://github.com/cloudflare/workers-sdk/tree/main/telemetry.md
569+
Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md
570570
"
571571
`);
572572
expect(std.out).not.toContain(

packages/wrangler/src/metrics/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const telemetryStatusCommand = createCommand({
7474
logger.log(
7575
"To configure telemetry globally on this machine, you can run `wrangler telemetry disable / enable`.\n" +
7676
"You can override this for individual projects with the environment variable `WRANGLER_SEND_METRICS=true/false`.\n" +
77-
"Learn more at https://github.com/cloudflare/workers-sdk/tree/main/telemetry.md\n"
77+
"Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md\n"
7878
);
7979
},
8080
});

0 commit comments

Comments
 (0)