You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit sets the `default_application_name` and `default_tier_name` to empty properties in the AppDynamics config file. This mean they can be easily set by an environment variable. If they are left empty and no value is given by the credentials payload of the bound AppDynamics service, then `application_name` already uses to the application name set by Cloud Foundry but the `tier_name` will now also use the application name set by Cloud Foundry for its value.
[#102469346]
Copy file name to clipboardExpand all lines: docs/framework-app_dynamics_agent.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The AppDynamics Agent Framework causes an application to be automatically config
13
13
Tags are printed to standard output by the buildpack detect script
14
14
15
15
## User-Provided Service
16
-
When binding AppDynamics using a user-provided service, it must have name or tag with `app-dynamics` or `appdynamics` in it. The credential payload can contain the following entries:
16
+
When binding AppDynamics using a user-provided service, it must have name or tag with `app-dynamics` or `appdynamics` in it. The credential payload can contain the following entries:
17
17
18
18
| Name | Description
19
19
| ---- | -----------
@@ -31,18 +31,18 @@ To provide more complex values such as the `tier-name`, using the interactive mo
31
31
## Configuration
32
32
For general information on configuring the buildpack, refer to [Configuration and Extension][].
33
33
34
-
The framework can be configured by modifying the [`config/app_dynamics_agent.yml`][] file in the buildpack fork. The framework uses the [`Repository` utility support][repositories] and so it supports the [version syntax][] defined there.
34
+
The framework can be configured by modifying the [`config/app_dynamics_agent.yml`][] file in the buildpack fork. The framework uses the [`Repository` utility support][repositories] and so it supports the [version syntax][] defined there.
35
35
36
36
| Name | Description
37
37
| ---- | -----------
38
-
| `default_application_name` | This is not provided by default but can be added to specify the application name in the AppDynamics dashboard. This can be overridden with an `application-name` entry in the credentials payload.
39
-
| `default_tier_name` | The default tier name for this application in the AppDynamics dashboard. This can be overridden with a `tier-name` entry in the credentials payload.
40
-
| `default_node_name` | The default node name for this application in the AppDynamics dashboard. The default value is an expression that will be evaluated based on the `instance_index` of the application. This can be overridden with a `node-name` entry in the credentials payload.
38
+
| `default_application_name` | This is omitted by default but can be added to specify the application name in the AppDynamics dashboard. This can be overridden by an `application-name` entry in the credentials payload. If neither are supplied the default is the `application_name` as specified by Cloud Foundry.
39
+
| `default_node_name` | The default node name for this application in the AppDynamics dashboard. The default value is an expression that will be evaluated based on the `instance_index` of the application. This can be overridden by a `node-name` entry in the credentials payload.
40
+
| `default_tier_name` | This is omitted by default but can be added to specify the tier name for this application in the AppDynamics dashboard. This can be overridden by a `tier-name` entry in the credentials payload. If neither are supplied the default is the `application_name` as specified by Cloud Foundry.
41
41
| `repository_root` | The URL of the AppDynamics repository index ([details][repositories]).
42
42
| `version` | The version of AppDynamics to use. Candidate versions can be found in [this listing][].
43
43
44
44
### Additional Resources
45
-
The framework can also be configured by overlaying a set of resources on the default distribution. To do this, add files to the `resources/app_dynamics_agent` directory in the buildpack fork. For example, to override the default `app-agent-config.xml` add your custom file to `resources/app_dynamics_agent/conf/app-agent-config.xml`.
45
+
The framework can also be configured by overlaying a set of resources on the default distribution. To do this, add files to the `resources/app_dynamics_agent` directory in the buildpack fork. For example, to override the default `app-agent-config.xml` add your custom file to `resources/app_dynamics_agent/conf/app-agent-config.xml`.
0 commit comments