AppDynamics Concepts (On-Premises)

Splunk AppDynamics application enables management and monitoring of your application delivery ecosystem, ranging from mobile/browser client network requests to backend databases/servers and more. This global view across your application landscape allows you to quickly navigate through the distributed application into the call graphs and exception reports that the individual hosts generate.

Application Performance Monitoring

At the tier level, Splunk AppDynamics provides a view of the runtime operation of your code via an App Server Agent. The agent detects calls to a service entry point at the tier and follows the execution path for the call through the call stack. It sends data about usage metrics, code exceptions, exit calls to backend systems, and error conditions to your Controller Tenant. See Install App Server Agents.

APM

Most application environments contain more than one application server. They may contain distributed, interconnected servers and processes that participate in fulfilling a given user request. In this context, Splunk AppDynamics tracks transactions across distributed, heterogeneous services.

Infrastructure Visibility with Database Visibility

For greater visibility into your application delivery environment, you can add Database Visibility to the SaaS deployment.

Application Agents provide information about calls to backend databases, including errors and call counts. The Database Visibility module extends your visibility into the workings of the database server itself by providing you with information about query execution and performance with an agent-less profile.

Infrastructure Visibility contributes to your view of the data center by adding valuable information on the performance of the machines and networks in your environment.

Infrastructure Visibility with Database Visibility

In this deployment, the Database Agent collects information from the database servers and sends it to the Controller Tenant. Some of this information persists in the Events Service. The Events Service is the document storage component optimized for searching and storing high volumes of information. Database Analytics features may use the Events Service.

End User Monitoring for Client Experience

Server-side monitoring provides visibility into the end user's experience with application performance and suggests performance improvements to the server. End-user monitoring (EUM) extends those insights from the initial client request to the client device response. End User Monitoring allows you to collect information about where requests are coming from, what devices/channels users are using, and code performance once deployed on their devices. You have the visibility you need to investigate mobile crashes by displaying stack traces and other contextual data at the time of the crash and tying that to the Business Transaction data from the server.

Business iQ (Analytics for Business Impact)

Splunk AppDynamics Business iQ Analytics providesBusiness iQto help you understand how the performance of your application environment and end-user applications relates to the business data of the transactions. It lets you sort, order, and understand the data that composes the Business Transactions. You can drill into the log data that your environment generates. See Using Analytics Data.

メトリックの使用

メトリックは、モニタリング環境における特定のクラスの測定値、状態、またはイベントです。多数のデフォルトが、リクエストの負荷、平均応答時間、エラー率など、アプリケーションまたはビジネストランザクションの全体的なパフォーマンスに関連します。その他のものは、CPUビジー率やメモリ使用率など、サーバーインフラストラクチャの状態を示します。

エージェントは、検出したメトリックをコントローラテナントに登録します。その後、定期的にメトリックの測定値やオカレンスをレポートします。メトリックは、コントローラテナント UI の [メトリックブラウザ(Metric Browser)] メトリックブラウザの使用開始 を使用して表示できます。

インフォメーションポイントは、(アプリケーションに対して)ビジネスのパフォーマンスをレポートできるタイプのメトリックです。たとえば、特定の製品や製品群のウェブサイトでの購入の収益を集計するインフォメーションポイントをセットアップすることができます。また、インフォメーションポイントを使って、特定のメソッドが呼び出された回数や、実行までの時間など、コードのパフォーマンスをレポートすることもできます。

ユーザーが定義するカスタムメトリックをレポートするためにマシンエージェントを使用する拡張を作成できます。あらかじめ用意されている Splunk AppDynamics メトリックと同様に、これらのメトリックには基準値があり、コントローラテナントにレポートされます。

コントローラテナント UI を使用する代わりに、Splunk AppDynamicsAPI を使用してプログラムでメトリックにアクセスできます。

ベースラインとしきい値

Splunk AppDynamics では、自己学習した基準値と構成可能なしきい値の両方を使用して、アプリケーションの問題を特定できます。複雑な分散アプリケーションには多数のパフォーマンスメトリックがあり、各メトリックは 1 つまたは複数のコンテキストで重要です。次のことは難しい場合があります。

  • 特定のメトリックの標準的な値または範囲を判断する。
  • 関連アラートをベース化および受け取るための、意味のあるしきい値を設定する。
  • アプリケーションやインフラストラクチャが変更されたときの「標準的な」メトリックが何であるかを判断する。

これらの理由から、動的な基準値またはしきい値に基づいた異常検知が提供されます。

Splunk AppDynamics は、メトリックに対する動的な基準値を自動計算し、実際の使用状況に従って各メトリックの「標準」を定義します。このプラットフォームでは、これらの基準値を利用して、範囲から外れている後続のメトリック値を特定します。変化の激しいエラーが発生しやすいアプリケーション環境で静的しきい値を設定する必要はなくなりました。

基準値を使用する条件を持つ正常性ルールを作成することで、パフォーマンス問題が発生、または発生しそうなときにアラートまたはその他のアクションをトリガーできます。 「アラートと応答」、「正常性ルール」および「動的ベースライン」を参照してください。

Splunk AppDynamics のしきい値は、トランザクションの遅延、大幅な遅延、および停滞を検出することでサービスレベル契約(SLA)を守り、最適なパフォーマンスレベルを維持するのに役立ちます。しきい値があれば、正しいビジネスコンテキストとリクエストの遅延を関連付け、根本原因を特定できます。「トランザクションのしきい値」を参照してください。

正常性ルール、ポリシー、およびアクション

Splunk AppDynamics は、動的な基準値設定を使用して、アプリケーションにとって標準的な挙動を自動的に確立します。ユーザーはこの標準となる基準値に従って正常性ルールを策定し(またはその他のヘルスインジケータを使用し)、最適でない状態をトラッキングできます。

このような問題のあるイベント(正常性ルールの重大イベントなど)を、アラートや救済的な挙動をトリガーできるアクションとつなげることができるポリシーが、ユーザが影響を受けるずっと前にシステムの問題に対処します。

Splunk AppDynamics は、デフォルトの正常性ルールを提供します。ユーザは、環境に合わせてデフォルトの正常性ルールをカスタマイズしたり、新しいルールを作成したりすることができます。「Alert and Respond」を参照してください。

デフォルトの正常性ルールでは、以下のようにビジネストランザクションパフォーマンスがテストされます。

ビジネストランザクションの応答時間が通常よりもはるかに長い

  • クリティカルな状態は、デフォルトの基準値よりも 3 標準偏差高い平均応答時間と、1 分あたり 50 コールより大きい負荷を組み合わせたものとして定義されます。
  • このルールが定義する警告状態とは、デフォルトの基準値よりも 2 標準偏差高い平均応答時間と、1 分あたり 100 コールより大きい負荷を組み合わせたものです。

ビジネストランザクションのエラー率が通常よりもはるかに高い

  • クリティカルな状態は、デフォルトの基準値よりも 3 標準偏差高いエラー率、1 分あたり 10 エラーより高いエラー率、および 1 分あたり 50 コールより大きい負荷を組み合わせたものとして定義されます。
  • このルールが定義する警告状態とは、デフォルトの基準値よりも 2 標準偏差高いエラー率、1 分あたり 5 エラーより高いエラー率、および 1 分あたり 50 コールより大きい負荷を組み合わせたものです。

Infrastructure Monitoring

Monitoring infrastructure performance can add insight into underlying factors about performance. Splunk AppDynamics can alert you of the problem at the Business Transaction and infrastructure level.

Splunk AppDynamics provides preconfigured application infrastructure metrics and default health rules to enable you to discover and correct infrastructure problems. You can configure additional persistent metrics to implement a monitoring strategy specific to your business needs and application architecture.

Infrastructure Visibility contributes to your view of the data center by adding valuable information on the performance of the machines and networks in your environment.

You can view infrastructure metrics in the Metric Browser. In this context, the Correlation Analysis and Scalability Analysis graphs are useful to understand how infrastructure metrics can correlate or relate to Business Transaction performance.

Splunk AppDynamics の統合と拡張

Splunk AppDynamics Exchange では、多くの拡張をダウンロードできます。また、必要なものが見つからない場合は独自に開発することも可能です。

Splunk AppDynamics の拡張は、次のカテゴリで使用できます。

  • モニタリング拡張は、エージェントが収集し、テナントにレポートする既存のメトリックセットにメトリックを追加します。これには、ユーザが他のモニタリングシステムから収集するメトリックを含めることができます。また、データベース、LDAP サーバー、Web サーバー、C プログラムなど、Splunk AppDynamics によってインストゥルメント化されないサービスからお使いのシステムが抽出するメトリックを含めることもできます。「拡張機能とカスタムメトリック」を参照してください。
  • アラート拡張では、Splunk AppDynamics を外部のアラートまたはチケットシステムと統合し、カスタム通知アクションを作成できます。「電子メールテンプレート」および「HTTP リクエストアクションおよびテンプレート」を参照してください。
  • パフォーマンステスト拡張は、パフォーマンスをテストする拡張で構成されます。
  • 有効化または設定する必要がある、標準搭載の統合拡張。これには、以下が含まれます。

カスタム拡張や統合コンポーネントを作成する場合は、「Splunk AppDynamics」を参照してください。