Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Langfuse is very noisy locally when not configured

オープン
#605 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
領域
observability

調査の方向性

Issue ではファイルやテストが指定されていません。まず Langfuse の初期化箇所を特定し、設定なしで Apollo の実行を再現してください。認証とコンテキストに関する警告が繰り返し発生する原因を特定します。設定されていないローカル実行でコンソールが警告で埋め尽くされなくなり、Apollo が引き続き動作すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I don't have langfuse configured locally (and don't particualrly want to). So when I run apollo, my console is bombarded with langfuse errors:

Authentication error: Langfuse client initialized without public_key. Client will be disabled. Provide a public_key parameter or set LANGFUSE_PUBLIC_KEY environment variable. 
WARNING:langfuse:Authentication error: Langfuse client initialized without public_key. Client will be disabled. Provide a public_key parameter or set LANGFUSE_PUBLIC_KEY environment variable. 
INFO:global_chat.global_chat:Global agent called with content: what commcare field does patient.gender get mapped from? Check the actual implementation here in the...
WARNING:langfuse:Authentication error: Langfuse client initialized without public_key. Client will be disabled. Provide a public_key parameter or set LANGFUSE_PUBLIC_KEY environment variable. 
WARNING:langfuse:Context error: No active span in current context. Operations that depend on an active span will be skipped. Ensure spans are created with start_as_current_observation() or that you're operating within an active span context.
INFO:global_chat.router:RouterAgent initialized with model: claude-haiku-4-5-20251001
WARNING:langfuse:Authentication error: Langfuse client initialized without public_key. Client will be disabled. Provide a public_key parameter or set LANGFUSE_PUBLIC_KEY environment variable. 
INFO:global_chat.router:Router.route_and_execute() called
WARNING:langfuse:Authentication error: Langfuse client initialized without public_key. Client will be disabled. Provide a public_key parameter or set LANGFUSE_PUBLIC_KEY environment variable. 
INFO:global_chat.router:Router decision: planner (confidence: 5, job_key: None)
INFO:global_chat.router:Routing to planner
INFO:global_chat.planner:PlannerAgent initialized with model: claude-opus-4-8
WARNING:langfuse:Authentication error: Langfuse client initialized without public_key. Client will be disabled. Provide a public_key parameter or set LANGFUSE_PUBLIC_KEY environment variable. 

These are super distracting when trying to read the logs and understand what's going on internally.

I'd love to rethink the langfuse code and find a way to sidestep all these errors.

主要言語
Jupyter Notebook
スター
5
フォーク
9
平均マージ
3日 2時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenFn/apollo のほかの issue

OpenFn/apollo の issue をすべて見る

似ている issue

Observability & SRE の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。