Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Instana外形監視テスト結果取得
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Jacky Xu
August 08, 2023
Technology
0
420
Instana外形監視テスト結果取得
Instana Open API を利用して、外形監視テスト結果の取得を実装しています。
Jacky Xu
August 08, 2023
Tweet
Share
Other Decks in Technology
See All in Technology
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
150
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.7k
(技術的には)社内システムもOKなブラウザエージェントを作ってみた!
har1101
0
300
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.4k
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
プロポーザルに込める段取り八分
shoheimitani
1
660
私たち準委任PdEは2つのプロダクトに挑戦する ~ソフトウェア、開発支援という”二重”のプロダクトエンジニアリングの実践~ / 20260212 Naoki Takahashi
shift_evolve
PRO
2
210
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.4k
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
850
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.6k
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
680
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
510
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
58
50k
BBQ
matthewcrist
89
10k
Building an army of robots
kneath
306
46k
Writing Fast Ruby
sferik
630
62k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
98
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
340
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
The Spectacular Lies of Maps
axbom
PRO
1
530
Crafting Experiences
bethany
1
53
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 } }'