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 moves the Dynatrace to be inline with the other supported
frameworks. Also includes updates to the documentation. The support
has been tested against a live Dynatrace server.
[#95410056]
The DynaTrace Agent Framework causes an application to be automatically configured to work with a bound [DynaTrace Service][] instance (Free trials available).
3
3
4
-
The Cloud Foundry pushed application name is used as the `agent group` in DynaTrace, and must be pre-configured on the DynaTrace server.
5
-
A system profile may be provided as an optional argument (defaults to `Monitoring`).
4
+
The applications Cloud Foundry name is used as the `agent group` in DynaTrace, and must be pre-configured on the DynaTrace server.
6
5
7
-
**Current Issues:**
8
-
* The DynaTrace agent slows down app execution significantly at first, but gets faster over time. You may want to update your CF deployment manifest to set `maximum_health_check_timeout` to 180 or more and/or execute `cf push -t 180` or more when pushing a DynaTrace-monitored application.
6
+
**NOTE**
9
7
10
-
* As you `cf push` multiple times, many dead penguins will litter the DynaTrace agent dashboard, as CF launches/disposes application containers. These can be hidden but will collect in the dynatrace database.
8
+
* The DynaTrace agent slows down app execution significantly at first, but gets faster over time. Setting the application manifest to contain `maximum_health_check_timeout` of 180 or more and/or using `cf push -t 180` or more when pushing a DynaTrace-monitored application may help.
9
+
* Multiple `cf push`s will cause dead penguins to build up in the DynaTrace agent dashboard, as CF launches/disposes application containers. These can be hidden but will collect in the dynatrace database.
11
10
12
11
<table>
13
12
<tr>
@@ -31,10 +30,12 @@ The credential payload of the service may contain the following entries:
31
30
32
31
| Name | Description
33
32
| ---- | -----------
34
-
| `server` | The DynaTrace collector hostname to connect to. Use `host:port` format for a specific port number.
35
-
| `profile` | (optional) The DynaTrace server profile this is associated with. Uses `Monitoring` by default.
33
+
| `server` | The DynaTrace collector hostname to connect to. Use `host:port` format for a specific port number.
34
+
| `profile` | (Optional) The DynaTrace server profile this is associated with. Uses `Monitoring` by default.
36
35
37
-
**NOTE** Be sure to open an Application Security Group to your DynaTrace collector prior to starting your application:
36
+
**NOTE**
37
+
38
+
Be sure to open an Application Security Group to your DynaTrace collector prior to starting the application:
38
39
```
39
40
$ cat security.json
40
41
[
@@ -59,39 +60,18 @@ TIP: Changes will not apply to existing running applications until they are rest
59
60
## Configuration
60
61
For general information on configuring the buildpack, refer to [Configuration and Extension][].
61
62
62
-
The framework can be configured by modifying the [`dyna_trace_agent.yml`][] file in the buildpack fork. The framework uses the [`Repository` utility support][repositories] and so it supports the [version syntax][] defined there.
63
+
The framework can be configured by modifying the [`config/dyna_trace_agent.yml`][] file in the buildpack fork. The framework uses the [`Repository` utility support][repositories] and so it supports the [version syntax][] defined there.
63
64
64
65
| Name | Description
65
66
| ---- | -----------
66
67
| `repository_root` | The URL of the DynaTrace repository index ([details][repositories]).
67
68
| `version` | The version of DynaTrace to use. This buildpack framework has been tested on 6.1.0.
68
69
69
-
70
-
**NOTE:** This framework does not connect to a pre-populated repository. Instead you will need to create your own repository by:
71
-
72
-
1. Downloading the DynaTrace agent unix binary (in JAR format) to an HTTP-accesible location
73
-
1. Uploading an `index.yml` file with a mapping from the version of the agent to its location to the same HTTP-accessible location
74
-
1. Configuring the [`dyna_trace_agent.yml`][] file to point to the root of the repository holding both the index and agent binary
75
-
76
-
Sample **`repository_root`** for [`dyna_trace_agent.yml`][] (under java-buildpack/config) assuming a bosh-lite setup and a local webserver (e.g. `brew install tomcat7`) on port 8080
Ensure the DynaTrace binary is available at the location indicated by the index.yml referred by the DynaTrace repository_root.
70
+
### Additional Resources
71
+
The framework can also be configured by overlaying a set of resources on the default distribution. To do this, add files to the `resources/ca_wily_agent` directory in the buildpack fork. For example, to override the default profile add your custom profile to `resources/introscope_agent/`.
92
72
93
73
[Configuration and Extension]: ../README.md#configuration-and-extension
0 commit comments