VMware Tanzu 用 AppDynamics アプリケーション パフォーマンス モニタリングのワークフロー
このトピックでは、Splunk AppDynamics APM タイルによって公開されたマーケットプレイスサービスを使用して、Splunk AppDynamics エージェントで VMware Tanzu アプリケーションをインストゥルメント化するために必要な手順について説明します。Java ビルドパック以外では、マルチビルドパック アプローチが使用されます。これには、言語固有のビルドパックに加えて、タイルによって公開された Splunk AppDynamics 拡張ビルドパックの appdbuildpack が必要です。Java ビルドパックには Splunk AppDynamics エージェントのサポートが直接統合されているため、Splunk AppDynamics ビルドパックを使用する必要はありません。
Before You Start
Create a Splunk AppDynamics Service Instance
Splunk AppDynamics Instrumentation Workflows
Sample Applications
You can find sample applications demonstrating the multi-buildpack approach in this GitHub repository.
.NET Framework Applications (Multi-Build Pack)
appdbuildpack buildpack is used in tandem with the standard hwc_buildpack buildpack.
The appdbuildpack provides APPD_AGENT_HTTP_URL and APPD_CONF_HTTP_URL environment variables to customize agent binary downloads and extend agents advanced configuration respectively. See 「Splunk AppDynamics拡張ビルドパック」を参照してください。 for details.
.NET Core for Linux Applications (Multi-Buildpack)
appdbuildpack buildpack is used in tandem with the standard dotnet_core_buildpack buildpack.
The appdbuildpack provides APPD_AGENT_HTTP_URL and APPD_CONF_HTTP_URL environment variables to customize agent binary downloads and extend agents advanced configuration respectively. See 「Splunk AppDynamics拡張ビルドパック」を参照してください。 for details.
.NET Core Windows Applications (Multi-Buildpack)
appdbuildpack buildpack is used in tandem with the standard binary_buildpack buildpack.
The appdbuildpack provides APPD_AGENT_HTTP_URL and APPD_CONF_HTTP_URL environment variables to customize agent binary downloads and extend agents advanced configuration respectively. See 「Splunk AppDynamics拡張ビルドパック」を参照してください。 for details.
Python Applications (Multi-Buildpack)
The appdbuildpack provides the APPD_CONF_HTTP_URL environment variable to customize agent binary downloads and extend agents advanced configuration respectively. See 「Splunk AppDynamics拡張ビルドパック」を参照してください。 for details.
Java Applications
java_buildpack_offline buildpack. The multi-buildpack approach is not used as this is not supported by the Java buildpack.
Because Splunk AppDynamics instrumentation of VMWare Tanzu Java applications does not use appdbuildpack, the configuration is managed by java_buildpack directly. Refer to the standard java_buildpack documentation.
Node.js Applications (Multi-Buildpack)
appdbuildpack buildpack is used in tandem with the standard nodejs_buildpack buildpack.
Extending Default Proxy Configuration
http_proxy or https_proxy as an environment variable for the application running on VMware Tanzu to communicate with the proxy server. Do the following:
Using Splunk AppDynamics User-Provided Service
In addition to the procedure above using the service broker tile, operators can also use user provided service with the name appdynamics to instrument applications on Splunk AppDynamics.
cf cups command below with the JSON fields specified.
appdynamics, and its JSON credentials must have account-access-key, account-name, host-name, port, and ssl-enabled fields.
$ cf cups appdynamics -p '{"account-access-key":"acce$$key", "account-name":"customer1", "host-name":"demo.appdynamics.com", "port":"8090", "ssl-enabled":false}'
Deploying the Machine Agent on VMware Tanzu
This topic helps you deploy the Machine Agent on the VMware Tanzu(VMware Tanzu) platform.
- Acquire admin or space developer access on Cloud Foundry to deploy, run, and manage applications. For more information on access rights see the Cloud Foundry Documentation.
- Download the Machine Agent.