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
Instana外形監視テスト結果取得
Search
Jacky Xu
August 08, 2023
Technology
490
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Instana外形監視テスト結果取得
Instana Open API を利用して、外形監視テスト結果の取得を実装しています。
Jacky Xu
August 08, 2023
Other Decks in Technology
See All in Technology
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
210
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
470
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
120
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
170
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
120
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
200
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
290
Rust で関数型ドメインモデリング
takonda
0
170
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.3k
Optunaの最新リリースv5.0について
pfn
PRO
0
120
夫婦で子育てするための育児標準化
codmoninc
PRO
0
460
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
180
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
First, design no harm
axbom
PRO
2
1.3k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Become a Pro
speakerdeck
PRO
31
6.3k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
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 } }'