SlideShare a Scribd company logo
1 of 38
Download to read offline
©2008–19 New Relic, Inc. All rights reserved
[B5] New RelicのSREに学ぶ
SREのためのNew Relic活用法
New Relic株式会社
シニアテクニカルサポートエンジニア
⽥中 孝佳
#srenext #srenextB
#newrelic
©2008–19 New Relic, Inc. All rights reserved 2
Safe Harbor
This presentation and the information herein (including any information that may be incorporated by reference) is provided for informational purposes only
and should not be construed as an offer, commitment, promise or obligation on behalf of New Relic, Inc. (“New Relic”) to sell securities or deliver any product,
material, code, functionality, or other feature. Any information provided hereby is proprietary to New Relic and may not be replicated or disclosed without
New Relic’s express written permission.
Such information may contain forward-looking statements within the meaning of federal securities laws. Any statement that is not a historical fact or refers to
expectations, projections, future plans, objectives, estimates, goals, or other characterizations of future events is a forward-looking statement. These forward-
looking statements can often be identified as such because the context of the statement will include words such as “believes,” “anticipates,” “expects” or
words of similar import.
Actual results may differ materially from those expressed in these forward-looking statements, which speak only as of the date hereof, and are subject to
change at any time without notice. Existing and prospective investors, customers and other third parties transacting business with New Relic are cautioned not
to place undue reliance on this forward-looking information. The achievement or success of the matters covered by such forward-looking statements are based
on New Relic’s current assumptions, expectations, and beliefs and are subject to substantial risks, uncertainties, assumptions, and changes in circumstances
that may cause the actual results, performance, or achievements to differ materially from those expressed or implied in any forward-looking statement.
Further information on factors that could affect such forward-looking statements is included in the filings New Relic makes with the SEC from time to time.
Copies of these documents may be obtained by visiting New Relic’s Investor Relations website at ir.newrelic.com or the SEC’s website at www.sec.gov.
New Relic assumes no obligation and does not intend to update these forward-looking statements, except as required by law. New Relic makes no warranties,
expressed or implied, in this presentation or otherwise, with respect to the information provided.
©2008–19 New Relic, Inc. All rights reserved
⾃⼰紹介
3
現職: シニアテクニカルサポートエンジニア
New Relicは⽇本の拠点で、⽇本語により、テクニカルサポートを⾏なっています
経歴:
Java, C#, Rubyなどを使ったシステムの研究開発や運⽤業務
AWS, Windows IIS, ASP.NET 環境でのソーシャルゲーム開発運⽤
Azure上でのRHELやOpenShiftおよび.NET Coreのテクニカルサポート
C#, Azureを中⼼にコミュニティ勉強会への登壇やブログ執筆
(Microsoft MVP 7年受賞中)
©2008–19 New Relic, Inc. All rights reserved
チーム
プラクティス
アーキテ
クチャ
今日お話しする割合
©2008–19 New Relic, Inc. All rights reserved
本セッションの内容
5
New Relic SREのチームはどうなっているか
New Relic SREがやっているプラクティス
New Relic のアーキテクチャはどうなっているか
多数の製品を抱えるSaaSの今を簡単にご紹介
SREの⼀⽇や、障害対応など簡単にご紹介
Game Dayといった取り組みから
どのようにNew Relicを使っているかをご紹介
New Relicの
アーキテクチャ
©2008–19 New Relic, Inc. All rights reserved#FUTURESTACK
New Relicの今昔
7
現在当初
New Relic のアラートと
ダッシュボードを活⽤︕
Ruby のモノリシック
アプリ
サイロ化したチーム
頻繁でないリリース
リアクティブな
モニタリング
300以上の
マイクロサービス
50以上のSREが
内包された開発チーム
1⽇に20-70デプロイ
1分間に20億のイベントと
メトリックを取り込み
©2008–19 New Relic, Inc. All rights reserved
©2008–19 New Relic, Inc. All rights reserved
NRDB
9
New Relicサービスを⽀えるデータベース
毎分20億のイベント・メトリクス挿⼊、1兆のイベントに対しクエリ実⾏
Data
Pipelines
NRDB
各製品
データーパイプライン
共通UI
プログラマブルUI
(React Component)
GraphQL, NRQL
各製品のAgent
ログ
カスタムイベント
(OpenTelemetryや
Prometheus含む)
etc
kafka
cluster
Kafka クラスター
90ブローカー、毎秒1500万メッセージ (3年前実績)
https://www.confluent.io/kafka-summit-sf17/From-Scaling-Nightmare-to-Stream-Dream-Real-time-Stream-
Processing-at-Scale/
Sourcetopic
Resulttopic
Split
Match
Aggregate
kafka
kafka
Queries
New Relic SREの
チーム
©2008–19 New Relic, Inc. All rights reserved
New Relic SREのチーム
• 開発者 +500
• SRE +50
How New Relic built its latest product in just six weeks
https://diginomica.com/new-relic-built-latest-product-six-weeks
• 障害検知はほぼ全てNew Relicを監視しているNew Relicからのアラート
New Relic Alert Conditionを使い始めるためのベストプラクティス
https://blog.newrelic.co.jp/best-practices/best-practices-new-relic-alert-conditions/
SREやDevOpsチームでのアラート疲れの5つのよくある原因
https://blog.newrelic.co.jp/engineering/alert-fatigue-sources/
©2008–19 New Relic, Inc. All rights reserved
New Relicでの実際の障害対応
14
アラートで検知する
ほぼ全ての障害を内部で検知し、対応に移る
SREが障害対応を主導する
• 主張に根拠を与える
• 共通理解を与える
• 仮説を⽴てる
• 仮説を検証する
役割を定義する
• インシデント司令官
• 技術リーダー
• コミュニケーションリード
• コミュニケーションマネージャー
https://blog.newrelic.com/engineering/on-call-and-
incident-response-new-relic-best-practices/
インシデントの重要度を設定する
©2008–19 New Relic, Inc. All rights reserved
New Relic SREの一日
https://blog.newrelic.com/engineering/what-
does-an-sre-do/
• 意外と会議が多い
• 意外とたくさんのタスクを並行してる
• MMF(最小市場価値)の一環で
エンジニアとペアを組み
コードも追いかけている
コーヒー飲みながらメールチェック
8:00
CoreOS COP
Kafka Upgrade
ランチ、同僚の相談に乗る
緊急MMF会議
キャパシティ計画会議
12:00
フロントエンドエンジニアとMMF
(Reactのコード)
リスクマトリクス会議
MMFの続き
Kafka Upgradeの確認など
17:30
New Relic SREの
プラクティス
©2008–19 New Relic, Inc. All rights reserved
“⽕について学ぶ”、
その最⾼のタイミングはまさに
”⽕がついている”ときです。
17
Jen Hammond, New Relic Engineering Manager
©2008–19 New Relic, Inc. All rights reserved
Game day
18
©2008–19 New Relic, Inc. All rights reserved
Game Day とは
19
AWS Well-Architected Frameworkによると
「システムやプロセス、チームの対応をテストするために失敗やイベントを
シミュレートすること」
https://wa.aws.amazon.com/wat.concept.gameday.en.html
SRE として Adversarial Game Day (敵性ゲームデイ) を⾏う⽅法
https://blog.newrelic.co.jp/best-practices/how-to-run-a-game-day/
New Relicのサイト信頼性ベストプラクティスの一つ
https://newrelic.com/resource/site-reliability-engineering
SLOを上回っている場合最低四半期に⼀度、
あるいは新しいメンバーのオンボーディングにも利⽤
リモートでの参加者を含めることも意義がある
©2008–19 New Relic, Inc. All rights reserved
敵性Game Dayの企画の⼀例
• ⽬的を明確にする
• 攻撃側と対応側にチームを分ける
• 攻撃側
• 攻撃⼿順を作成する
• 影響範囲を想定しておく
• 対応策を想定しておく
• 対応側
• 参加者、実施⽇を決めておく
• フォローアップ
• 想定した対応策、影響範囲が正しかったか確認
• New Relicの画⾯に現れたシステムの挙動を記録しておく
©2008–19 New Relic, Inc. All rights reserved
具体的にどのように見ているのか
• 性能劣化の根本原因を短時間で究明する
• APMの使い⽅
• 分散システムの把握
• Distributed Tracing
• SLOの⾒える化
• SLO Reporter by Synthetics
• 構成管理の完全把握
• Config Management by Infrastructure
©2008–19 New Relic, Inc. All rights reserved
分散システムも⼀つ⼀つのアプリから
22
フロントエンド
BrowserおよびMobile
APM
それぞれのアプリに
APM Agentを⼊れるだけ
アプリ間の繋がり
トラフィックを⾃動で検出
Database
RDBMSやRedis, Memcached
などもAPMから計測可能
©2008–19 New Relic, Inc. All rights reserved
コードレベルの特定
どのメソッドが遅いか
コードの⾏番号まで特定可能
©2008–19 New Relic, Inc. All rights reserved
クエリレベルの特定
クエリの統計
遅い呼び出しが1回あるのか
回数が多くて遅延しているのか
©2008–19 New Relic, Inc. All rights reserved
特定のリクストの繋がりを把握する
28
App A App X
App B App Y
App C App Z
HTTP
gRPC
Queue
フィルター
時間やエラー数、アプリ数で
フィルタ可能
⾊分け
最初のアプリごとに⾊分け
©2008–19 New Relic, Inc. All rights reserved
©2008–19 New Relic, Inc. All rights reserved
SLO Reporter
指定したSLIをSLOとしてアプリごとに可視化するダッシュボードツール
https://github.com/newrelic/nr1-slo-r
©2008–19 New Relic, Inc. All rights reserved
NRQLを使ったError Budget Reportチャート
33
©2008–19 New Relic, Inc. All rights reserved
SyntheticsでSLA/SLOを計測
34
URLを⼊れるだけ スクリプト
SeleniumによるBrowser操作
や、APIのスクリプト実⾏
Location
発信元は選ぶだけ
private minion
内部ネットワークでも
計測可能
©2008–19 New Relic, Inc. All rights reserved
Config Managementの確認のためにInfrastructure
35
©2008–19 New Relic, Inc. All rights reserved
まとめ
36
New Relic SREのチームはどうなっているか
New Relic SREがやっているプラクティス
New Relic のアーキテクチャはどうなっているか
様々なデータをパイプライン処理するKafka
⼤量のデータを保存するNRDB
アラート、障害対応のポリシー。SREの⼀⽇。
Game Day
New Relic各製品を使い⽅の⼀例
©2008–19 New Relic, Inc. All rights reserved 37
Selfie Drone
ROOM B 出口すぐ
New Relic Booth
SRE Dashboard
CTO Solution
Consultant
Customer
Success
Manager
Solution
Consultant
松本 大樹 清水 毅 大谷 和紀 斎藤 恒太
アンケートに答えていただくと
抽選で Selfie Drone 当たります。
SRE がみるべき指標をまとめた
New Relic ダッシュボード。
©2008–19 New Relic, Inc. All rights reserved
こんなキーワードが気になったらブースへ
38
kubernetes (Istio, Prometheus)
kubernetes監視のための専⽤ダッシュボード
IstioやPrometheusなどのOSS製品で取得したメトリクスの可視化
リアルユーザーモニタリング(Browser, Mobile)
ログ収集、監視、APMとログの連携(Logs in Context)
パブリッククラウド、クラウド移⾏
OpenTracing, OpenTelemetry, Zipkin
APMの分散トレーシングやエラーに関連するログの分析を容易に
©2008–19 New Relic, Inc. All rights reserved
https://newrelic.co.jp/events/meetup/observability-meetup-3
©2008–19 New Relic, Inc. All rights reserved 40
New Relic University
ハンズオンセミナー開催スケジュール
2.6 障害対応高速化 (初級) ¦ 渋谷
2.25 障害対応高速化 (初級) ¦ 東京
3.17 障害対応高速化 (初級) ¦ 渋谷
3.3 レガシーアプリ高速化 (中級) ¦ 六本木
https://newrelic.co.jp/events/seminar/nru-20200206
https://newrelic.co.jp/events/seminar/nru-20200225
調整中
https://newrelic.co.jp/events/seminar/nru-20200317
©2008–19 New Relic, Inc. All rights reserved 41
New Relic で実践する SRE
開催スケジュール
New Relic で実践する SRE
近年、システム運用に関わる多くの方々がSRE(Site Reliability
Engineering)に関心を持っています。しかし、SREがどんなも
ので何をすればいいのかわからないとお伺いすることも増え
ました。今回我々が考えるSREについておさらいとしてご紹介
させていただきながら、New Relicを使ったらどのようにSREを
実践していけるのか。その実践に向けたNew Relicの使い方を
ご紹介していきます。
Senior Solution Consultant
清水 毅
https://newrelic.co.jp/events
/seminar/20200218-sre
https://newrelic.co.jp/events
/seminar/20200311-sre
2.18 開催
3.11 開催
©2008–19 New Relic, Inc. All rights reserved
ttanaka@newrelic.com
@tanaka_733
Thank You

More Related Content

Similar to SRENEXT 2020 [B5] New RelicのSREに学ぶ SREのためのNew Relic活用法

Lightning を利用した開発とケーススタディ
Lightning を利用した開発とケーススタディLightning を利用した開発とケーススタディ
Lightning を利用した開発とケーススタディSalesforce Developers Japan
 
初めてのWave Analyticsデータセット作成
初めてのWave Analyticsデータセット作成初めてのWave Analyticsデータセット作成
初めてのWave Analyticsデータセット作成Salesforce Developers Japan
 
Heroku でカンタンすぐに実現する CI/CD
Heroku でカンタンすぐに実現する CI/CDHeroku でカンタンすぐに実現する CI/CD
Heroku でカンタンすぐに実現する CI/CDTakashi Abe
 
Heroku Getting Started
Heroku Getting StartedHeroku Getting Started
Heroku Getting StartedAyumu Aizawa
 
Go Faster with Lightning : Salesforce Lightning 概要Webinar
Go Faster with Lightning : Salesforce Lightning 概要WebinarGo Faster with Lightning : Salesforce Lightning 概要Webinar
Go Faster with Lightning : Salesforce Lightning 概要WebinarSalesforce Developers Japan
 
食わず嫌いの為のSalesforce1 Platform入門
食わず嫌いの為のSalesforce1 Platform入門食わず嫌いの為のSalesforce1 Platform入門
食わず嫌いの為のSalesforce1 Platform入門Mitch Okamoto
 
Salesforce開発プロジェクトの進め方とアプリケーションライフサイクルマネジメント
Salesforce開発プロジェクトの進め方とアプリケーションライフサイクルマネジメントSalesforce開発プロジェクトの進め方とアプリケーションライフサイクルマネジメント
Salesforce開発プロジェクトの進め方とアプリケーションライフサイクルマネジメントSalesforce Developers Japan
 
Einstein Analyticsでのデータ取り込みと加工
Einstein Analyticsでのデータ取り込みと加工Einstein Analyticsでのデータ取り込みと加工
Einstein Analyticsでのデータ取り込みと加工Salesforce Developers Japan
 
Lightning Components で 次世代のアプリケーション開発
Lightning Components で 次世代のアプリケーション開発Lightning Components で 次世代のアプリケーション開発
Lightning Components で 次世代のアプリケーション開発Salesforce Developers Japan
 
Salesforce1 platformで爆速モバイル開発
Salesforce1 platformで爆速モバイル開発Salesforce1 platformで爆速モバイル開発
Salesforce1 platformで爆速モバイル開発Salesforce Developers Japan
 
プロフェッショナルのための 実践 Heroku 入門
プロフェッショナルのための 実践 Heroku 入門プロフェッショナルのための 実践 Heroku 入門
プロフェッショナルのための 実践 Heroku 入門Salesforce Developers Japan
 

Similar to SRENEXT 2020 [B5] New RelicのSREに学ぶ SREのためのNew Relic活用法 (20)

Node.js開発者のためのHeroku入門
Node.js開発者のためのHeroku入門Node.js開発者のためのHeroku入門
Node.js開発者のためのHeroku入門
 
PHP開発者のためのHeroku入門
PHP開発者のためのHeroku入門PHP開発者のためのHeroku入門
PHP開発者のためのHeroku入門
 
Lightning を利用した開発とケーススタディ
Lightning を利用した開発とケーススタディLightning を利用した開発とケーススタディ
Lightning を利用した開発とケーススタディ
 
初めてのWave Analyticsデータセット作成
初めてのWave Analyticsデータセット作成初めてのWave Analyticsデータセット作成
初めてのWave Analyticsデータセット作成
 
Spring '15 開発者向け新機能Webinar
Spring '15 開発者向け新機能WebinarSpring '15 開発者向け新機能Webinar
Spring '15 開発者向け新機能Webinar
 
Heroku でカンタンすぐに実現する CI/CD
Heroku でカンタンすぐに実現する CI/CDHeroku でカンタンすぐに実現する CI/CD
Heroku でカンタンすぐに実現する CI/CD
 
Heroku Getting Started
Heroku Getting StartedHeroku Getting Started
Heroku Getting Started
 
Go Faster with Lightning : Salesforce Lightning 概要Webinar
Go Faster with Lightning : Salesforce Lightning 概要WebinarGo Faster with Lightning : Salesforce Lightning 概要Webinar
Go Faster with Lightning : Salesforce Lightning 概要Webinar
 
Python開発者のためのHeroku入門
Python開発者のためのHeroku入門Python開発者のためのHeroku入門
Python開発者のためのHeroku入門
 
食わず嫌いの為のSalesforce1 Platform入門
食わず嫌いの為のSalesforce1 Platform入門食わず嫌いの為のSalesforce1 Platform入門
食わず嫌いの為のSalesforce1 Platform入門
 
Salesforce 開発入門
Salesforce 開発入門Salesforce 開発入門
Salesforce 開発入門
 
Visualforceを使ってみよう
Visualforceを使ってみようVisualforceを使ってみよう
Visualforceを使ってみよう
 
Herokuで実践するCI, CD
Herokuで実践するCI, CDHerokuで実践するCI, CD
Herokuで実践するCI, CD
 
Salesforce開発プロジェクトの進め方とアプリケーションライフサイクルマネジメント
Salesforce開発プロジェクトの進め方とアプリケーションライフサイクルマネジメントSalesforce開発プロジェクトの進め方とアプリケーションライフサイクルマネジメント
Salesforce開発プロジェクトの進め方とアプリケーションライフサイクルマネジメント
 
Einstein Next Best Action を試してみよう
Einstein Next Best Action を試してみようEinstein Next Best Action を試してみよう
Einstein Next Best Action を試してみよう
 
Einstein Analyticsでのデータ取り込みと加工
Einstein Analyticsでのデータ取り込みと加工Einstein Analyticsでのデータ取り込みと加工
Einstein Analyticsでのデータ取り込みと加工
 
Salesforce DX & GitHub Deep Dive
Salesforce DX & GitHub Deep DiveSalesforce DX & GitHub Deep Dive
Salesforce DX & GitHub Deep Dive
 
Lightning Components で 次世代のアプリケーション開発
Lightning Components で 次世代のアプリケーション開発Lightning Components で 次世代のアプリケーション開発
Lightning Components で 次世代のアプリケーション開発
 
Salesforce1 platformで爆速モバイル開発
Salesforce1 platformで爆速モバイル開発Salesforce1 platformで爆速モバイル開発
Salesforce1 platformで爆速モバイル開発
 
プロフェッショナルのための 実践 Heroku 入門
プロフェッショナルのための 実践 Heroku 入門プロフェッショナルのための 実践 Heroku 入門
プロフェッショナルのための 実践 Heroku 入門
 

More from Takayoshi Tanaka

deep dive distributed tracing
deep dive distributed tracingdeep dive distributed tracing
deep dive distributed tracingTakayoshi Tanaka
 
202202 open telemetry .net handson
202202 open telemetry .net handson202202 open telemetry .net handson
202202 open telemetry .net handsonTakayoshi Tanaka
 
202109-New_Relic-for-csharp-engineers
202109-New_Relic-for-csharp-engineers202109-New_Relic-for-csharp-engineers
202109-New_Relic-for-csharp-engineersTakayoshi Tanaka
 
20210129 azure webapplogging
20210129 azure webapplogging20210129 azure webapplogging
20210129 azure webapploggingTakayoshi Tanaka
 
20191024 Get Start gRPC with ASP.NET
20191024 Get Start gRPC with ASP.NET20191024 Get Start gRPC with ASP.NET
20191024 Get Start gRPC with ASP.NETTakayoshi Tanaka
 
C#エンジニアのためのdocker kubernetesハンズオン (再)
C#エンジニアのためのdocker kubernetesハンズオン (再)C#エンジニアのためのdocker kubernetesハンズオン (再)
C#エンジニアのためのdocker kubernetesハンズオン (再)Takayoshi Tanaka
 
C#エンジニアのためのdocker kubernetesハンズオン
C#エンジニアのためのdocker kubernetesハンズオンC#エンジニアのためのdocker kubernetesハンズオン
C#エンジニアのためのdocker kubernetesハンズオンTakayoshi Tanaka
 
20190604 Containerized MagicOnion on kubernetes with Observability with New R...
20190604 Containerized MagicOnion on kubernetes with Observability with New R...20190604 Containerized MagicOnion on kubernetes with Observability with New R...
20190604 Containerized MagicOnion on kubernetes with Observability with New R...Takayoshi Tanaka
 
.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能Takayoshi Tanaka
 
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能Takayoshi Tanaka
 
Try! Visual Studio 209 git feature
Try! Visual Studio 209 git featureTry! Visual Studio 209 git feature
Try! Visual Studio 209 git featureTakayoshi Tanaka
 
(過去バージョン) Q#基礎 ver1.0
(過去バージョン) Q#基礎 ver1.0(過去バージョン) Q#基礎 ver1.0
(過去バージョン) Q#基礎 ver1.0Takayoshi Tanaka
 
New features of Azure Cloud Provider in OpenShift Container Platform 3.10
New features of Azure Cloud Provider in OpenShift Container Platform 3.10New features of Azure Cloud Provider in OpenShift Container Platform 3.10
New features of Azure Cloud Provider in OpenShift Container Platform 3.10Takayoshi Tanaka
 
New features of Azure Cloud Provider at OCP 3.10
New features of Azure Cloud Provider at OCP 3.10New features of Azure Cloud Provider at OCP 3.10
New features of Azure Cloud Provider at OCP 3.10Takayoshi Tanaka
 

More from Takayoshi Tanaka (20)

deep dive distributed tracing
deep dive distributed tracingdeep dive distributed tracing
deep dive distributed tracing
 
202202 open telemetry .net handson
202202 open telemetry .net handson202202 open telemetry .net handson
202202 open telemetry .net handson
 
202109-New_Relic-for-csharp-engineers
202109-New_Relic-for-csharp-engineers202109-New_Relic-for-csharp-engineers
202109-New_Relic-for-csharp-engineers
 
20210129 azure webapplogging
20210129 azure webapplogging20210129 azure webapplogging
20210129 azure webapplogging
 
20201127 .NET 5
20201127 .NET 520201127 .NET 5
20201127 .NET 5
 
Unity(再)入門
Unity(再)入門Unity(再)入門
Unity(再)入門
 
最近のQ#について
最近のQ#について最近のQ#について
最近のQ#について
 
20191024 Get Start gRPC with ASP.NET
20191024 Get Start gRPC with ASP.NET20191024 Get Start gRPC with ASP.NET
20191024 Get Start gRPC with ASP.NET
 
C#エンジニアのためのdocker kubernetesハンズオン (再)
C#エンジニアのためのdocker kubernetesハンズオン (再)C#エンジニアのためのdocker kubernetesハンズオン (再)
C#エンジニアのためのdocker kubernetesハンズオン (再)
 
20190806 Q# Measurements
20190806 Q# Measurements20190806 Q# Measurements
20190806 Q# Measurements
 
C#エンジニアのためのdocker kubernetesハンズオン
C#エンジニアのためのdocker kubernetesハンズオンC#エンジニアのためのdocker kubernetesハンズオン
C#エンジニアのためのdocker kubernetesハンズオン
 
20190604 Containerized MagicOnion on kubernetes with Observability with New R...
20190604 Containerized MagicOnion on kubernetes with Observability with New R...20190604 Containerized MagicOnion on kubernetes with Observability with New R...
20190604 Containerized MagicOnion on kubernetes with Observability with New R...
 
.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能
 
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
 
Try! Visual Studio 209 git feature
Try! Visual Studio 209 git featureTry! Visual Studio 209 git feature
Try! Visual Studio 209 git feature
 
Q#基礎 ver1.1
Q#基礎 ver1.1Q#基礎 ver1.1
Q#基礎 ver1.1
 
(過去バージョン) Q#基礎 ver1.0
(過去バージョン) Q#基礎 ver1.0(過去バージョン) Q#基礎 ver1.0
(過去バージョン) Q#基礎 ver1.0
 
ゼロから始めるQ#
ゼロから始めるQ#ゼロから始めるQ#
ゼロから始めるQ#
 
New features of Azure Cloud Provider in OpenShift Container Platform 3.10
New features of Azure Cloud Provider in OpenShift Container Platform 3.10New features of Azure Cloud Provider in OpenShift Container Platform 3.10
New features of Azure Cloud Provider in OpenShift Container Platform 3.10
 
New features of Azure Cloud Provider at OCP 3.10
New features of Azure Cloud Provider at OCP 3.10New features of Azure Cloud Provider at OCP 3.10
New features of Azure Cloud Provider at OCP 3.10
 

Recently uploaded

【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案sugiuralab
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...Toru Tamaki
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdftaisei2219
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Yuma Ohgami
 
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfクラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfFumieNakayama
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNetToru Tamaki
 
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfAWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfFumieNakayama
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A surveyToru Tamaki
 
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...博三 太田
 
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)UEHARA, Tetsutaro
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものですiPride Co., Ltd.
 

Recently uploaded (12)

【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdf
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
 
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfクラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet
 
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfAWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey
 
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
 
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
 

SRENEXT 2020 [B5] New RelicのSREに学ぶ SREのためのNew Relic活用法

  • 1. ©2008–19 New Relic, Inc. All rights reserved [B5] New RelicのSREに学ぶ SREのためのNew Relic活用法 New Relic株式会社 シニアテクニカルサポートエンジニア ⽥中 孝佳 #srenext #srenextB #newrelic
  • 2. ©2008–19 New Relic, Inc. All rights reserved 2 Safe Harbor This presentation and the information herein (including any information that may be incorporated by reference) is provided for informational purposes only and should not be construed as an offer, commitment, promise or obligation on behalf of New Relic, Inc. (“New Relic”) to sell securities or deliver any product, material, code, functionality, or other feature. Any information provided hereby is proprietary to New Relic and may not be replicated or disclosed without New Relic’s express written permission. Such information may contain forward-looking statements within the meaning of federal securities laws. Any statement that is not a historical fact or refers to expectations, projections, future plans, objectives, estimates, goals, or other characterizations of future events is a forward-looking statement. These forward- looking statements can often be identified as such because the context of the statement will include words such as “believes,” “anticipates,” “expects” or words of similar import. Actual results may differ materially from those expressed in these forward-looking statements, which speak only as of the date hereof, and are subject to change at any time without notice. Existing and prospective investors, customers and other third parties transacting business with New Relic are cautioned not to place undue reliance on this forward-looking information. The achievement or success of the matters covered by such forward-looking statements are based on New Relic’s current assumptions, expectations, and beliefs and are subject to substantial risks, uncertainties, assumptions, and changes in circumstances that may cause the actual results, performance, or achievements to differ materially from those expressed or implied in any forward-looking statement. Further information on factors that could affect such forward-looking statements is included in the filings New Relic makes with the SEC from time to time. Copies of these documents may be obtained by visiting New Relic’s Investor Relations website at ir.newrelic.com or the SEC’s website at www.sec.gov. New Relic assumes no obligation and does not intend to update these forward-looking statements, except as required by law. New Relic makes no warranties, expressed or implied, in this presentation or otherwise, with respect to the information provided.
  • 3. ©2008–19 New Relic, Inc. All rights reserved ⾃⼰紹介 3 現職: シニアテクニカルサポートエンジニア New Relicは⽇本の拠点で、⽇本語により、テクニカルサポートを⾏なっています 経歴: Java, C#, Rubyなどを使ったシステムの研究開発や運⽤業務 AWS, Windows IIS, ASP.NET 環境でのソーシャルゲーム開発運⽤ Azure上でのRHELやOpenShiftおよび.NET Coreのテクニカルサポート C#, Azureを中⼼にコミュニティ勉強会への登壇やブログ執筆 (Microsoft MVP 7年受賞中)
  • 4. ©2008–19 New Relic, Inc. All rights reserved チーム プラクティス アーキテ クチャ 今日お話しする割合
  • 5. ©2008–19 New Relic, Inc. All rights reserved 本セッションの内容 5 New Relic SREのチームはどうなっているか New Relic SREがやっているプラクティス New Relic のアーキテクチャはどうなっているか 多数の製品を抱えるSaaSの今を簡単にご紹介 SREの⼀⽇や、障害対応など簡単にご紹介 Game Dayといった取り組みから どのようにNew Relicを使っているかをご紹介
  • 7. ©2008–19 New Relic, Inc. All rights reserved#FUTURESTACK New Relicの今昔 7 現在当初 New Relic のアラートと ダッシュボードを活⽤︕ Ruby のモノリシック アプリ サイロ化したチーム 頻繁でないリリース リアクティブな モニタリング 300以上の マイクロサービス 50以上のSREが 内包された開発チーム 1⽇に20-70デプロイ 1分間に20億のイベントと メトリックを取り込み
  • 8. ©2008–19 New Relic, Inc. All rights reserved
  • 9. ©2008–19 New Relic, Inc. All rights reserved NRDB 9 New Relicサービスを⽀えるデータベース 毎分20億のイベント・メトリクス挿⼊、1兆のイベントに対しクエリ実⾏
  • 13. ©2008–19 New Relic, Inc. All rights reserved New Relic SREのチーム • 開発者 +500 • SRE +50 How New Relic built its latest product in just six weeks https://diginomica.com/new-relic-built-latest-product-six-weeks • 障害検知はほぼ全てNew Relicを監視しているNew Relicからのアラート New Relic Alert Conditionを使い始めるためのベストプラクティス https://blog.newrelic.co.jp/best-practices/best-practices-new-relic-alert-conditions/ SREやDevOpsチームでのアラート疲れの5つのよくある原因 https://blog.newrelic.co.jp/engineering/alert-fatigue-sources/
  • 14. ©2008–19 New Relic, Inc. All rights reserved New Relicでの実際の障害対応 14 アラートで検知する ほぼ全ての障害を内部で検知し、対応に移る SREが障害対応を主導する • 主張に根拠を与える • 共通理解を与える • 仮説を⽴てる • 仮説を検証する 役割を定義する • インシデント司令官 • 技術リーダー • コミュニケーションリード • コミュニケーションマネージャー https://blog.newrelic.com/engineering/on-call-and- incident-response-new-relic-best-practices/ インシデントの重要度を設定する
  • 15. ©2008–19 New Relic, Inc. All rights reserved New Relic SREの一日 https://blog.newrelic.com/engineering/what- does-an-sre-do/ • 意外と会議が多い • 意外とたくさんのタスクを並行してる • MMF(最小市場価値)の一環で エンジニアとペアを組み コードも追いかけている コーヒー飲みながらメールチェック 8:00 CoreOS COP Kafka Upgrade ランチ、同僚の相談に乗る 緊急MMF会議 キャパシティ計画会議 12:00 フロントエンドエンジニアとMMF (Reactのコード) リスクマトリクス会議 MMFの続き Kafka Upgradeの確認など 17:30
  • 17. ©2008–19 New Relic, Inc. All rights reserved “⽕について学ぶ”、 その最⾼のタイミングはまさに ”⽕がついている”ときです。 17 Jen Hammond, New Relic Engineering Manager
  • 18. ©2008–19 New Relic, Inc. All rights reserved Game day 18
  • 19. ©2008–19 New Relic, Inc. All rights reserved Game Day とは 19 AWS Well-Architected Frameworkによると 「システムやプロセス、チームの対応をテストするために失敗やイベントを シミュレートすること」 https://wa.aws.amazon.com/wat.concept.gameday.en.html SRE として Adversarial Game Day (敵性ゲームデイ) を⾏う⽅法 https://blog.newrelic.co.jp/best-practices/how-to-run-a-game-day/ New Relicのサイト信頼性ベストプラクティスの一つ https://newrelic.com/resource/site-reliability-engineering SLOを上回っている場合最低四半期に⼀度、 あるいは新しいメンバーのオンボーディングにも利⽤ リモートでの参加者を含めることも意義がある
  • 20. ©2008–19 New Relic, Inc. All rights reserved 敵性Game Dayの企画の⼀例 • ⽬的を明確にする • 攻撃側と対応側にチームを分ける • 攻撃側 • 攻撃⼿順を作成する • 影響範囲を想定しておく • 対応策を想定しておく • 対応側 • 参加者、実施⽇を決めておく • フォローアップ • 想定した対応策、影響範囲が正しかったか確認 • New Relicの画⾯に現れたシステムの挙動を記録しておく
  • 21. ©2008–19 New Relic, Inc. All rights reserved 具体的にどのように見ているのか • 性能劣化の根本原因を短時間で究明する • APMの使い⽅ • 分散システムの把握 • Distributed Tracing • SLOの⾒える化 • SLO Reporter by Synthetics • 構成管理の完全把握 • Config Management by Infrastructure
  • 22. ©2008–19 New Relic, Inc. All rights reserved 分散システムも⼀つ⼀つのアプリから 22 フロントエンド BrowserおよびMobile APM それぞれのアプリに APM Agentを⼊れるだけ アプリ間の繋がり トラフィックを⾃動で検出 Database RDBMSやRedis, Memcached などもAPMから計測可能
  • 23. ©2008–19 New Relic, Inc. All rights reserved コードレベルの特定 どのメソッドが遅いか コードの⾏番号まで特定可能
  • 24. ©2008–19 New Relic, Inc. All rights reserved クエリレベルの特定 クエリの統計 遅い呼び出しが1回あるのか 回数が多くて遅延しているのか
  • 25. ©2008–19 New Relic, Inc. All rights reserved 特定のリクストの繋がりを把握する 28 App A App X App B App Y App C App Z HTTP gRPC Queue
  • 27. ©2008–19 New Relic, Inc. All rights reserved
  • 28. ©2008–19 New Relic, Inc. All rights reserved SLO Reporter 指定したSLIをSLOとしてアプリごとに可視化するダッシュボードツール https://github.com/newrelic/nr1-slo-r
  • 29. ©2008–19 New Relic, Inc. All rights reserved NRQLを使ったError Budget Reportチャート 33
  • 30. ©2008–19 New Relic, Inc. All rights reserved SyntheticsでSLA/SLOを計測 34 URLを⼊れるだけ スクリプト SeleniumによるBrowser操作 や、APIのスクリプト実⾏ Location 発信元は選ぶだけ private minion 内部ネットワークでも 計測可能
  • 31. ©2008–19 New Relic, Inc. All rights reserved Config Managementの確認のためにInfrastructure 35
  • 32. ©2008–19 New Relic, Inc. All rights reserved まとめ 36 New Relic SREのチームはどうなっているか New Relic SREがやっているプラクティス New Relic のアーキテクチャはどうなっているか 様々なデータをパイプライン処理するKafka ⼤量のデータを保存するNRDB アラート、障害対応のポリシー。SREの⼀⽇。 Game Day New Relic各製品を使い⽅の⼀例
  • 33. ©2008–19 New Relic, Inc. All rights reserved 37 Selfie Drone ROOM B 出口すぐ New Relic Booth SRE Dashboard CTO Solution Consultant Customer Success Manager Solution Consultant 松本 大樹 清水 毅 大谷 和紀 斎藤 恒太 アンケートに答えていただくと 抽選で Selfie Drone 当たります。 SRE がみるべき指標をまとめた New Relic ダッシュボード。
  • 34. ©2008–19 New Relic, Inc. All rights reserved こんなキーワードが気になったらブースへ 38 kubernetes (Istio, Prometheus) kubernetes監視のための専⽤ダッシュボード IstioやPrometheusなどのOSS製品で取得したメトリクスの可視化 リアルユーザーモニタリング(Browser, Mobile) ログ収集、監視、APMとログの連携(Logs in Context) パブリッククラウド、クラウド移⾏ OpenTracing, OpenTelemetry, Zipkin APMの分散トレーシングやエラーに関連するログの分析を容易に
  • 35. ©2008–19 New Relic, Inc. All rights reserved https://newrelic.co.jp/events/meetup/observability-meetup-3
  • 36. ©2008–19 New Relic, Inc. All rights reserved 40 New Relic University ハンズオンセミナー開催スケジュール 2.6 障害対応高速化 (初級) ¦ 渋谷 2.25 障害対応高速化 (初級) ¦ 東京 3.17 障害対応高速化 (初級) ¦ 渋谷 3.3 レガシーアプリ高速化 (中級) ¦ 六本木 https://newrelic.co.jp/events/seminar/nru-20200206 https://newrelic.co.jp/events/seminar/nru-20200225 調整中 https://newrelic.co.jp/events/seminar/nru-20200317
  • 37. ©2008–19 New Relic, Inc. All rights reserved 41 New Relic で実践する SRE 開催スケジュール New Relic で実践する SRE 近年、システム運用に関わる多くの方々がSRE(Site Reliability Engineering)に関心を持っています。しかし、SREがどんなも ので何をすればいいのかわからないとお伺いすることも増え ました。今回我々が考えるSREについておさらいとしてご紹介 させていただきながら、New Relicを使ったらどのようにSREを 実践していけるのか。その実践に向けたNew Relicの使い方を ご紹介していきます。 Senior Solution Consultant 清水 毅 https://newrelic.co.jp/events /seminar/20200218-sre https://newrelic.co.jp/events /seminar/20200311-sre 2.18 開催 3.11 開催
  • 38. ©2008–19 New Relic, Inc. All rights reserved ttanaka@newrelic.com @tanaka_733 Thank You