Allow anyone to opt in to conversation telemetry

This commit is contained in:
Saoud Rizwan committed 2025-03-21 21:29:41 -07:00
1 parent 4cd914970e
commit 9ae90c99ad
1 file changed
+1 -6
@@ -14,8 +14,6 @@ export type TelemetryChatMessage = {
content: Anthropic.Messages.MessageParam["content"]
}
const { IS_DEV } = process.env
interface ConversationMetadata {
apiProvider?: string
model?: string
@@ -57,10 +55,7 @@ export class ConversationTelemetryService {
const isConversationTelemetryEnabled =
vscode.workspace.getConfiguration("cline").get<boolean>("conversationTelemetry") ?? false
// Currently only enabled in dev environment
const isDevEnvironment = !!IS_DEV
return isDevEnvironment && isGlobalTelemetryEnabled && isConversationTelemetryEnabled
return isGlobalTelemetryEnabled && isConversationTelemetryEnabled
}
private async initializeTracer() {