Skip to content

Commit ecdabda

Browse files
committed
feat: added langfuse tracing logs on server startup
1 parent 79ebcff commit ecdabda

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { Queue } = require('bullmq');
88
const { getBullMQConnection, testRedisConnection } = require('./redisConfig');
99
const AnalysisWorker = require('./analysisWorker');
1010
const PotpieClient = require('./potpieClient');
11-
const { createTrace, flushLangfuse } = require('./langfuseClient');
11+
const { createTrace, flushLangfuse, langfuseClient } = require('./langfuseClient');
1212

1313
// Prometheus metrics
1414
const promClient = require('prom-client');
@@ -618,6 +618,7 @@ async function startServer() {
618618
console.log(`🔍 Analysis endpoint: http://localhost:${PORT}/analyze`);
619619
console.log(`📈 Queue stats: http://localhost:${PORT}/queue/stats`);
620620
console.log(`🔌 WebSocket endpoint: ws://localhost:${PORT}/`);
621+
console.log(`📊 Langfuse tracing listening on ${langfuseClient.baseUrl}`)
621622

622623
if (!process.env.POTPIE_API_KEY) {
623624
console.warn('⚠️ WARNING: POTPIE_API_KEY environment variable not set!');

0 commit comments

Comments
 (0)