Adding the Sealights java agent into you Pivotal Cloud Foundry / VMWare Tanzu Application Services is done by using the standard java buildpack.
Info |
---|
​Complimentary information is detailed in https://github.com/cloudfoundry/java-buildpack/blob/main/docs/framework-sealights_agent.md |
Prerequisite: Installing CF Java buildpack
...
hard-code them in
manifest.yml
:Code Block language yaml env: JBP_CONFIG_SEALIGHTS_AGENT: '{lab_id: yourLabId}'
pass them as environment variables for the application:
Code Block cf set-env [my-application] JBP_CONFIG_SEALIGHTS_AGENT: '{lab_id: myLabId}'
...
Available configuration keys are
Name | Description |
---|---|
| Sealights' Build Session ID for the application. Leave blank to use the value embedded in the jar/war artifacts |
| Specify a HTTP proxy used to communicate with the Sealights backend. Required when a corporate network prohibits communication to cloud services. The default is to have no proxy configured. |
| Specify a Sealights Lab ID |
| Enable/disable agent auto-upgrade. Off by default. |
| The version of Auto-reconfiguration to use. Candidate versions can be found in this listing. If |