The CA Introscope APM Framework causes an application to be automatically configured to work with a bound Introscope service.
Detection Criterion | Existence of a single bound Introscope service.
|
Tags | introscope-agent=<version> |
Users may optionally provide their own Introscope service. A user-provided Introscope service must have a name or tag with introscope
in it so that the Introscope Agent Framework will automatically configure the application to work with the service.
The credential payload of the service may contain the following entries:
Name | Description |
---|---|
agent_default_process_name |
(Optional) The name that is specified for the agent process. If not specified, default value is the application name. |
agent_manager_credential |
(Optional) The credential that is used to connect to the Enterprise Manager server |
agent_manager_url |
The url of the Enterprise Manager server |
agent_name |
(Optional) The name that should be given to this instance of the Introscope agent |
credential |
(Deprecated) The credential that is used to connect to the Enterprise Manager server |
url |
(Deprecated) The url of the Enterprise Manager server |
To provide more complex values such as the agent_name
, using the interactive mode when creating a user-provided service will manage the character escaping automatically. For example, the default agent_name
could be set with a value of agent-$(expr "$VCAP_APPLICATION" : '.*application_name[": ]*\([[:word:]]*\).*')
to calculate a value from the Cloud Foundry application name.
For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to Configuration and Extension.
The framework can be configured by modifying the [config/introscope_agent.yml
][] file in the buildpack fork. The framework uses the Repository
utility support and so it supports the version syntax defined there.
Name | Description |
---|---|
repository_root |
The URL of the Introscope Agent repository index (details). |
version |
The version of Introscope Agent to use. |
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/
.