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
Application Insights と Cosmos DB ―たかがTips、そう思って...
Search
Mitsuzono Hiroto
June 06, 2019
Programming
0
84
Application Insights と Cosmos DB ―たかがTips、そう思ってないですか?―
de:code2019 報告会 × オルターブース
Mitsuzono Hiroto
June 06, 2019
Tweet
Share
More Decks by Mitsuzono Hiroto
See All by Mitsuzono Hiroto
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
770
ここらでGPSマルチユニットが如何に使いやすいか本気で説明するから聞きなさい
mitsuzono
0
1.5k
Application insightsを用いてAzure AD B2Cをより使いこなす
mitsuzono
0
640
Application Insights と KQL
mitsuzono
0
610
LINE Messaging API メッセージ送受信とアカウント連携まわり
mitsuzono
0
130
近頃若者のサーバー離れが深刻化しています
mitsuzono
0
1.1k
新卒、ヘルキャンプとデスマーチへの挑戦
mitsuzono
0
500
Other Decks in Programming
See All in Programming
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
140
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
180
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
630
AtCoder Conference 2025
shindannin
0
1.1k
dchart: charts from deck markup
ajstarks
3
1k
CSC307 Lecture 05
javiergs
PRO
0
500
組織で育むオブザーバビリティ
ryota_hnk
0
180
Oxlintはいいぞ
yug1224
5
1.4k
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
510
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
390
Featured
See All Featured
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
230
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Site-Speed That Sticks
csswizardry
13
1.1k
Become a Pro
speakerdeck
PRO
31
5.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
650
From π to Pie charts
rasagy
0
130
Paper Plane
katiecoart
PRO
0
46k
Transcript
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. Application Insights
と Cosmos DB ― たかがTips、そう思ってないですか?― 株式会社オルターブース 満園 裕人
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. • 株式会社オルターブース
エンジニア • 業務では主に C#(.NET Core)で Webアプリケーション開発 • 今年のde:codeで食べた ドーナツの数: 7個 自己紹介
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. • Application
Insights • ざっくり概要 • Tips • Cosmos DB • アップデート • QAで特に参考になったポイント 今日話す内容
Application Insights
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. • Azure
Monitorに統合されている • オートスケールやアラートの条件として利用可能 • Azureポータルからリソース作るとよく勝手についてくる • が、論理アプリケーション単位でまとめるのがオススメ • アプリ側の設定についてはVisualStudioで行うと楽 • 手動でやるとNugetの設定やら何やらで面倒 Application Insights
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. • ITelemetryProcessorを継承したクラスを実装することで
フィルタリング可能 ノイズ除去 public class CustomTelemetryProcessor : ITelemetryProcessor { public CustomTelemetryProcessor(ITelemetryProcessor next) { _next = next; } private readonly ITelemetryProcessor _next; public void Process(ITelemetry item) { var dependency = item as DependencyTelemetry; if (dependency != null && dependency.ResultCode == "404") { return; } _next.Process(item); } }
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. • https://docs.microsoft.com/ja-jp/azure/azure-
monitor/app/usage-workbooks Workbooks、KQLでログ解析
Cosmos DB
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. • Spark
API • SDKのアップデート(近日GA予定) • OFFSET, LIMIT, DISTINCT が利用可能に • ARMテンプレートサポート • データベース、コンテナーも作成可能に アップデート内容
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. • パーティションを等分に分配していない場合、ホットパー
ティションが発生してしまう • リクエストが平均的に分散するよう設計すると良い • ポータルのCosmos DBモニタリングタブから確認可能 RU設定値超えてないのに応答が遅い
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. • (質問)Indexの設定を見直すか、Azure
Searchを使用す るかどちらが良いか? • どちらも効果はあるとは思われる • この二つの違いは、クローリングをデータに対するクエ リが行われる前にかけるか後にかけるかの違い • この場合部分一致クエリを使用することが推奨されている • 但し、検索のメインシナリオとは見なされていない CONTAINSを使用した検索が重い
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. • https://gotcosmos.com/architecture
アーキテクチャーのサンプル
Copyright © 2015-2019 ALTERBOOTH inc. All Rights Reserved. • 着眼点の変化があったと改めて実感
• 数年前に参加したとき: • Azureの各サービス概要を知る • 今回: • 業務で使ってる技術のアップデートやTipsを知る 参加した感想