Skip to content

Commit

Permalink
rm process.env
Browse files Browse the repository at this point in the history
  • Loading branch information
wendytang committed Dec 3, 2024
1 parent ca9f717 commit b4d92bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 1 addition & 3 deletions ui/desktop/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
VITE_START_EMBEDDED_SERVER=yes
GOOSE_PROVIDER__TYPE=openai
GOOSE_PROVIDER__HOST=https://api.openai.com
GOOSE_PROVIDER__MODEL=gpt-4o
DATADOG_APPLICATION_ID=139d4946-a1a5-4d5f-b017-2422e7774b9d
DATADOG_CLIENT_TOKEN=puba9048a40434f456895695b2d552b9c5c
GOOSE_PROVIDER__MODEL=gpt-4o
10 changes: 7 additions & 3 deletions ui/desktop/src/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ import App from './App'
// Initialize Datadog RUM
import { datadogRum } from '@datadog/browser-rum';

const DATADOG_APPLICATION_ID = '139d4946-a1a5-4d5f-b017-2422e7774b9d';
const DATADOG_CLIENT_TOKEN = 'puba9048a40434f456895695b2d552b9c5c';
const DATADOG_ENV = 'dev';

datadogRum.init({
applicationId: process.env.DATADOG_APPLICATION_ID,
clientToken: process.env.DATADOG_CLIENT_TOKEN,
applicationId: DATADOG_APPLICATION_ID,
clientToken: DATADOG_CLIENT_TOKEN,
site: 'datadoghq.com',
service: 'goose',
env: 'prod',
env: DATADOG_ENV,
sessionSampleRate: 100,
sessionReplaySampleRate: 20,
trackUserInteractions: true,
Expand Down

0 comments on commit b4d92bc

Please sign in to comment.