The Google Stackdriver Profiler Framework causes an application to be automatically configured to work with a bound Google Stackdriver Profiler Service.
Detection Criterion | Existence of a single bound Google Stackdriver Profiler service.
|
Tags | google-stackdriver-profiler=<version> |
Users may optionally provide their own Google Stackdriver Profiler service. A user-provided Google Stackdriver Profiler service must have a name or tag with google-stackdriver-profiler
in it so that the Google Stackdriver Profiler Agent Framework will automatically configure the application to work with the service.
The credential payload of the service must contain the following entry:
Name | Description |
---|---|
PrivateKeyData |
A Base64 encoded Service Account JSON payload |
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/google_stackdriver_profiler.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 Google Stackdriver Profiler repository index (details). |
version |
The version of Google Stackdriver Profiler to use. Candidate versions can be found in this listing. |