Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Strands AgentsのトレースをDatadogとLangfuseへ流すときに気をつけた...
Search
Mitsuhiro Komuro (nekorush14)
September 19, 2026
Technology
19
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Strands AgentsのトレースをDatadogとLangfuseへ流すときに気をつけたこと / Sending trace of Strands Agents to Datadog and Langfuse
隅田川.dev vol.7 LT会 で発表したスライドです。
イベントページ:
https://sumidagawa-dev.connpass.com/event/404393/
Mitsuhiro Komuro (nekorush14)
September 19, 2026
More Decks by Mitsuhiro Komuro (nekorush14)
See All by Mitsuhiro Komuro (nekorush14)
Agent Loopを組み込んだ アンビエントなAI機能を実現する / Ambient AI fetures with Agent Loop
nekorush14
0
120
Strands AgentsからADKの実装を呼んでGoogle検索を実現した話 / Calling ADK for Google Search from Strands Agents
nekorush14
0
16
AI-DLCをチーム開発に適用しようとしている話 / Trying to apply AI-DLC to the team
nekorush14
0
1.1k
AIが自律的に回る開発ループを設計してチーム開発に組み込む
nekorush14
0
470
Human-in-the-LoopなAIAgentを支えるガードレール設計 / Designing HITL AI Guardrails
nekorush14
0
170
Other Decks in Technology
See All in Technology
増え続けるプロダクトの品質をどう担保するか。ProductSpecとTypeScriptによる取り組み
joere
3
310
スマートロックを支えるFlutter × ネイティブ連携の実践 / Flutter and Native Integration in Practice: Powering Smart Locks
bitkey
PRO
0
130
AIエージェント時代、Kaggleにどう取り組むか
takanao
2
450
AIコーディングはじめました
miso
0
120
攻撃 3 時間 vs 復旧 10 時間。アクセスキー流出の非対称性を体感するために CTF を作った話
kazzpapa3
1
130
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
140
Deep Data Security 機能解説
oracle4engineer
PRO
3
980
キヨさん67歳 AIコーディングエージェント物語
happysamurai294
0
140
Obsidian Vault Architectures
x5gtrn
PRO
0
230
20261031_IoTLT_vol140_kitazaki_v1.pdf
kitazaki
0
150
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
710
Snowflake でできることが増えたら、 ABAC が必要になった
kaeton
0
130
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
540
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
460
Ruling the World: When Life Gets Gamed
codingconduct
0
430
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
510
Designing for Performance
lara
612
70k
Utilizing Notion as your number one productivity tool
mfonobong
4
630
Navigating Weather and Climate Data
rabernat
0
570
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
720
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
590
How to make the Groovebox
asonas
2
2.5k
Transcript
隅田川.dev vol.7 LT会 Strands AgentsのトレースをDatadogと Langfuseへ流すときに気をつけたこと Sep.19 2026 - Mitsuhiro
Komuro (@nekorush14) 1 © 2026 Wantedly, Inc.
⾃⼰紹介 Mitsuhiro Komuro Wantedly, inc. / Visit AI Squad /
Backend Enginer Tech Research / Stargazing / Music / Game and more… / @nekorush14 details © 2026 Wantedly, Inc. 2
CONTENTS 01 Strands AgentsでDatadogとLangfuseにOTelを送りたい 02 TracerProviderとSpanProcessorで実現する 03 まとめ © 2026
Wantedly, Inc. 3
01 Strands AgentsでDatadogと LangfuseにOTelを送りたい © 2026 Wantedly, Inc. 4
Strands AgentsでOTel (OpenTelemetry)を送りたい 課題の背景 既存プロダクトでは 内製 Gem により OTel 送信が計装されていた
© 2026 Wantedly, Inc. Strands Agents を使⽤する 新たな実装でも開発⽤途で OTel 送信する必要がある Strands Agents の実装に 合わせて Datadog と Langfuse へ OTel を 送信する必要があった 5
02 TracerProviderとSpanProcessorで 実現する © 2026 Wantedly, Inc. 6
TracerProviderとSpanProcessorで実現する dd-trace をベースに Langfuse にも送るようにする Strands Agents SDK の setupTracer
は複数の Trace Provider を返却不可 Datadog 公式ライブラリ (dd-trace) が提供する TracerProvider を 直接初期化して実現 Span もDatadog / Langfuse 向けに SpanProcesseor を 実装して実現 (補⾜) 開発環境で送信し、本番では送信しないようにしている © 2026 Wantedly, Inc. 7
TracerProviderとSpanProcessorで実現する 実装例 import { tracer } from 'dd-trace'; tracer.init(); //
OTelのグローバルな TracerProviderとして登録する // これにより StrandsSDKがgetTraceした時に dd-trace経由で Datadogに送信される const provider = new tracer.TracerProvider(); provider.register(); // dd-traceの型定義に addSpanProcessorは存在しないのでキャストしてから使用する provider.addSpanProcessor( // Langfuse向けに実装した SpanProcessorを指定する ); © 2026 Wantedly, Inc. 8
TracerProviderとSpanProcessorで実現する 内製 Gem と Attribute を統⼀する Strands Agents は標準で OTel
出⼒に対応している カスタム Attribute を付与することが可能 import { Agent } from '@strands-agents/sdk'; const agent = new Agent({ name: 'global.anthropic.claude-sonnet-5', traceAttributes: { // 任意のカスタム Attributeを指定できる 'session.id': 'session-id-here', 'user.id': 'user-id-here', // gen_ai.* などは SDKが自動的に生成する } }); © 2026 Wantedly, Inc. 9
03 まとめ © 2026 Wantedly, Inc. 10
まとめ TracerProviderとSpanProcessorを使って⾃前の計装をする Strands Agents は標準で OpenTelemetry 出力を サポートしている © 2026
Wantedly, Inc. TracerProvider と SpanProcessor を 組み合わせて複数の プロバイダーに送信する カスタム Attribute を 指定して既存の計装と 整合性を取る 11