Get Started with Cloud Foundry
With version 4.6.x of AppDynamics Application Performance Monitoring for VMware Tanzu tile, it is shipped with the Splunk AppDynamics extension buildpack, appdbuildpack
, which can be used along with the standard buildpacks using the Cloud Foundry™ multiple buildpack workflow. The buildpack serves as a single point for Splunk AppDynamics support.
Before You Begin
- Cloud Foundry Command Line Interface (cf CLI) v6.38 or later is required to use multiple buildpacks. See Installing the cf CLI.
- CloudFoundry Environment with Splunk AppDynamics Tile installed and configured with controller(s) information.
- An application that you want to instrument. See Sample Applications.
Sample Applications
You can find sample applications demonstrating the multi-buildpack approach in the GitHub repository.
Splunk AppDynamics Buildpack Workflow
The following workflow demonstrates the workflow for using Splunk AppDynamics BuildPack. This is used for instrumenting applications running in cloud foundry (cf) environments.
Splunk AppDynamics Agent Values
The following table lists the agent values:
Language | Standard BuildPack | APPD_AGENT value |
---|---|---|
.NET Framework (Windows) | hwc_buildpack | dotnet |
.NET Core (Linux) | dotnet_core_buildpack | dotnet-linux |
.NET Core (Windows) | binary_buildpack | dotnet-windows |
Python | python_buidpack | python |
GoLang | go_buildpack | golang |
NodeJS | nodejs-buildpack | nodejs |
Downloading Agent Bits
Splunk AppDynamics Buildpack provides a way to download specific agent bits by fetching binaries from custom download URLs. In addition to the default behavior of fetching agents from standard download points such as, appd dwnload server, pypi, nuget, and so on.
You can specify the APPD_AGENT_HTTP_URL
as the download URL that is hosting Splunk
AppDynamics Agent.
APPD_BASIC_AUTH_USERNAME
and APPD_BASIC_AUTH_PASS
respectively.Custom Configuration
Splunk AppDynamics Buildpack also provides a way to override basic configuration or add
custom configuration files to the agent. The buildpack can fetch the configuration either
locally or remotely. The buildpack fetches files with the same names that is used for a
specific agent. To fetch remotely from a custom download point, host the configuration
files corresponding to the agent on a HTTP server under a url and set
APPD_AGENT_HTTP_URL
to that URL.
Workflow Table
The following table describes the language/framework specific settings that can be applied while pushing the applications with appdbuildpack.
The column descriptions are as following:
APPD_AGENT
Value: Value of theAPPD_AGENT
environment variable that needs to be set while pushing the application withappdbuildpack
.- Configuration File Names: This list represents the names of files that
will be picked by appdbuildpack when hosted locally or remotely.
- When hosted remotely, these files should be present under URL specified
by
APPD_CONF_HTTP_URL
. - When hosted locally, the files should be present under the appdynamics/conf folder, which is next to application bits.
- When hosted remotely, these files should be present under URL specified
by
- Sample Manifest: An example buildpack to push an application with all the settings with appdbuildpack for instrumentation
APPD_AGENT Value | Allowed Custom Configuration File Names | Sample Manifest | |
---|---|---|---|
DotNetCore (Linux) |
dotnetcore
|
|
edit manifest.yml
|
DotNet (HWC) |
dotnet
|
|
edit manifest.yml
|
Python |
python
|
|
edit manifest.yml
|
GoLang |
golang
|
N/A because it is an SDK
|
edit manifest.yml
|