Skip to content

Commit 22314d4

Browse files
chore: add proper files and changes
1 parent 83e5635 commit 22314d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const OTEL_URL = 'http://localhost:4318';
1+
export const OTEL_URL = 'https://otel.cloud.redocly.com';
22
export const OTEL_TRACES_URL = process.env.OTEL_TRACES_URL || `${OTEL_URL}/v1/traces`;
33
export const DEFAULT_FETCH_TIMEOUT = 3000;
44
export const ANONYMOUS_ID_CACHE_FILE = 'redocly-cli-anonymous-id';

packages/cli/src/utils/telemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export async function sendTelemetry({
107107
],
108108
environment: process.env.REDOCLY_ENVIRONMENT,
109109
sourceDetails: {
110-
id: anonymous_id,
110+
id: !process.env.CI ? anonymous_id : undefined,
111111
object: 'user',
112112
uri: '',
113113
},

0 commit comments

Comments
 (0)