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
agentless metric collection for Amazon EKS
Search
clouddev-code
January 22, 2024
0
890
agentless metric collection for Amazon EKS
clouddev-code
January 22, 2024
Tweet
Share
More Decks by clouddev-code
See All by clouddev-code
Amazon_Bedrock_AgentCore_の概要_-_Slidev.pdf
cloudevcode
0
25
Regional_NAT_Gatewayについて_basicとの違い_試した内容スケールアウト_インについて_IPv6_dual_networkでの使い分けなど.pdf
cloudevcode
1
850
Grafana_LokiをECS_Fargateで構築する観点公開版.pdf
cloudevcode
0
27
ADK_for_Java.pdf
cloudevcode
1
73
initContainerをECSで実現したい.pdf
cloudevcode
0
19
VPC_Lattice検討したが_採用しなかった話.pptx.pptx.pdf
cloudevcode
0
18
Presentation_-_コンテナイメージ高速化技術.pptx.pdf
cloudevcode
0
20
GitHub_Copilot_AgentでするMCP_Streamable_HTTPまで.pdf
cloudevcode
0
100
EKS_Auto_Mode_Deep_Live.pdf
cloudevcode
0
45
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
140
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
130
Building AI with AI
inesmontani
PRO
1
740
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
190
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
130
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
180
Test your architecture with Archunit
thirion
1
2.2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Context Engineering - Making Every Token Count
addyosmani
9
710
Transcript
Agentless metric Collection for EKS AWS-UG横浜 #68 JAWS-UG横浜 #68 AWS
re:Invent 2023 Recap Container 2024/01/20 #jawsug #jawsugyokohama 1
About us Soushi Hiruta 2 agentless metric collection for Amazon
EKSについて検証してみました https://zenn.dev/clouddevcode/articles/067b17367dc71f
Agenda ▸ agentless metrics Collection for EKSとは ▸ agentless metrics
Collection for EKSの仕組み ▸ まとめ ▸ Q&A 3
agentless metrics collectorとは 4 Prometheus コレクターは、クラスター内でコレクターを実行することなく、Amazon EKS アプリケーションとインフラストラクチャからメトリックスを検出して収集するスク レイパーで構成されています。 https://aws.amazon.com/blogs/mt/how-unitary-achieved-automatic-metric-collection-with-amazon-managed-service-for-prometheus-collector/
agentless metrics collectionの仕組み 5 • Podのprometheus metricsに対して Scraperが収集
agent less collectorの図解 6 • Scraperを作成すると Network interfaceが 作成される。 •
inteface typeが Lambdaとなっていた。 • なんどかScraperの作 成試したが、15分程度 はかかっているように みえる。
始め方 7 https://zenn.dev/clouddevcode/articles/067b17367dc71f
Distro for OpenTelmetryとの比較 8 AWS Distro for OpenTelemetry Agentless metrics
collector 対応プラットフォーム ECS, EKS ※ECSの場合は、sidecar要 EKS 収集方法 ADOT Collector Scraper なにを収集 log, metrics ,trace metrics 送信先 Amazon managed for prometheus, X-Ray Amazon managed for prometheus 所感 sidecarで収集する場合はメモリリ ミット要 収集されるサイズに制限あり
ユースケースと適切な選択 9 • コレクターがマルチ AZ、高可用性、および自動スケーリング
削除時の注意点 10 • Scraper自体は個別で削除しないといけない
まとめ • Collectorが、Mulit-AZ、高可用性、拡張性をもっている • prometheusメトリクスだけとるのであれば利用できる。 • トレース等もとりたいのであれば、Distro for OpenTelemetryがよさそう 11
ELYZA-japanese-Llama-2 ModelをWasmEdgeで OpenAI Compactible APIを作成 12