Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
Amazon Connect アップデート! AIエージェントにMCPツールを設定してみた!
ysuzuki
0
120
2025-12-18_AI駆動開発推進プロジェクト運営について / AIDD-Promotion project management
yayoi_dd
0
150
LayerX QA Night#1
koyaman2
0
210
Building Serverless AI Memory with Mastra × AWS
vvatanabe
0
320
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
1
380
ESXi のAIOps だ!2025冬
unnowataru
0
280
ActiveJobUpdates
igaiga
1
300
_第4回__AIxIoTビジネス共創ラボ紹介資料_20251203.pdf
iotcomjpadmin
0
120
特別捜査官等研修会
nomizone
0
530
さくらのクラウド開発ふりかえり2025
kazeburo
2
310
MySQLとPostgreSQLのコレーション / Collation of MySQL and PostgreSQL
tmtms
1
1.1k
S3を正しく理解するための内部構造の読解
nrinetcom
PRO
3
240
Featured
See All Featured
Evolving SEO for Evolving Search Engines
ryanjones
0
73
GraphQLとの向き合い方2022年版
quramy
50
14k
Deep Space Network (abreviated)
tonyrice
0
20
Being A Developer After 40
akosma
91
590k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.1k
The Limits of Empathy - UXLibs8
cassininazir
1
190
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Paper Plane (Part 1)
katiecoart
PRO
0
1.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
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 } }'