$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Instana外形監視テスト結果取得
Search
Jacky Xu
August 08, 2023
Technology
0
410
Instana外形監視テスト結果取得
Instana Open API を利用して、外形監視テスト結果の取得を実装しています。
Jacky Xu
August 08, 2023
Tweet
Share
Other Decks in Technology
See All in Technology
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
6
1.6k
100以上の新規コネクタ提供を可能にしたアーキテクチャ
ooyukioo
0
250
【開発を止めるな】機能追加と並行して進めるアーキテクチャ改善/Keep Shipping: Architecture Improvements Without Pausing Dev
bitkey
PRO
1
120
2025年のデザインシステムとAI 活用を振り返る
leveragestech
0
170
マイクロサービスへの5年間 ぶっちゃけ何をしてどうなったか
joker1007
19
7.5k
AI時代のワークフロー設計〜Durable Functions / Step Functions / Strands Agents を添えて〜
yakumo
3
2.1k
"人"が頑張るAI駆動開発
yokomachi
1
130
特別捜査官等研修会
nomizone
0
550
ESXi のAIOps だ!2025冬
unnowataru
0
340
障害対応訓練、その前に
coconala_engineer
0
190
[Data & AI Summit '25 Fall] AIでデータ活用を進化させる!Google Cloudで作るデータ活用の未来
kirimaru
0
3.7k
SREが取り組むデプロイ高速化 ─ Docker Buildを最適化した話
capytan
0
140
Featured
See All Featured
Navigating Team Friction
lara
191
16k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
97
How STYLIGHT went responsive
nonsquared
100
6k
Color Theory Basics | Prateek | Gurzu
gurzu
0
150
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Heart Work Chapter 1 - Part 1
lfama
PRO
3
35k
Site-Speed That Sticks
csswizardry
13
1k
Making Projects Easy
brettharned
120
6.5k
The agentic SEO stack - context over prompts
schlessera
0
560
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
0
250
Building the Perfect Custom Keyboard
takai
1
660
Transcript
Instana外形監視テスト結果取得 Full-Stack Intelligent Observability Jacky Xu 2023/08/04
How to Export Synthetic Result
質問: Question: 外形監視のテスト結果をexportすることは可能ですか Answer: InstanaのUIから直接外形監視のテスト結果をexportできませんが、instanaのOpenAPIを利⽤す れば、実現することは可能です。 https://instana.github.io/openapi/#tag/Synthetic-Settings https://instana.github.io/openapi/#tag/Synthetic-Test-Playback-Results
テスト結果のExport例 1.外形監視テスト一覧を取得: 利用されるAPI:Get {{ base_url }}/api/synthetics/settings/tests curl --request GET \
--url https://sesandbox-instana.instana.io/api/events/settings/event-specifications/custom \ --header 'authorization: apiToken cO5EU540RKy4DhHsxi7hxQ’ PS: 1) apiTokenはUI画面の「設定→チーム設定→APIトークン」から「Access to Synthetic test results」権限 を持つTokenを作成できます。 2) 出力した一覧からテストの名前にて"id”を見つける。例: { "id": "zu1x0tfve1VaDffTIF3s", "tenantId": "saas_instanaibm_xxxxx", "label": "0803kawano_api", "description": "", "active": true, ….. } user1@MacBook-Air % curl --request GET \ --url https://xxxxx-instanaibm.instana.io/api/synthetics/settings/tests \ --header 'authorization: apiToken ngOY-96VSBS33dbyvWrp0A'
特定の外形監視のテスト結果を取得する: 利用されるAPI: POST {{ base_url }}/api/synthetics/results/list user1@MacBook-Air %curl --request POST
\ --url https://xxxxx-instanaibm.instana.io/api/synthetics/results/list \ --header 'Content-Type: application/json' \ --header 'authorization: apiToken ngOY-96VSBS33dbyvWrp0A ' \ --data '{ "syntheticMetrics":["synthetic.metricsResponseTime","synthetic.metricsResponseSize"], "order":{ "by":"synthetic.metricsResponseTime", "direction":"DESC" }, "tagFilters":[{ "stringValue":" zu1x0tfve1VaDffTIF3s ", "name":"synthetic.testId", "operator":"EQUALS" }], "timeFrame": { "to": 0, "windowSize": 1800000 } }'