AppDynamics Application Performance Monitoring for VMware Tanzu Workflow
This topic describes the steps required to instrument VMWare Tanzu applications with Splunk AppDynamics agents using the marketplace service published by the Splunk AppDynamics APM tile. For all but the Java buildpack, the multi-buildpack approach is used, which requires the Splunk AppDynamics extension buildpack appdbuildpack published by the tile, in addition to the language-specific buildpack. The Java buildpack has the Splunk AppDynamics agent support directly integrated and does not require the use of the Splunk AppDynamics buildpack.
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 Extension Buildpack 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 Extension Buildpack 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 Extension Buildpack 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 Extension Buildpack 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.