目录

google-stackdriver-cnb

The Cloud Foundry Google Stackdriver Buildpack is a Cloud Native Buildpack V3 that provides the Google Stackdriver Debugger and Profiler agents and configuration to applications.

This buildpack is designed to work in collaboration with bound service instances.

Behavior

This buildpack will participate if either of the following conditions are met

  • A service is bound with a payload containing binding_name, instance_name, label, or tag containing google-stackdriver-debugger as a substring.
  • A service is bound with a payload containing binding_name, instance_name, label, or tag containing google-stackdriver-profiler as a substring.

The buildpack will do the following if the debugger is bound:

  • Contributes Google Stackdriver Debugger agent to a layer marked launch
  • Sets -agentpath and com.google.cdbg.auth.serviceaccount.enable to $JAVA_OPTS
  • Contributes Google Stackdriver Credentials helper to a layer marked launch.
  • Sets $GOOGLE_APPLICATION_CREDENTIALS.

The buildpack will do the following if the profiler is bound:

  • Contributes Google Stackdriver Profiler agent to a layer marked launch
  • Sets -agentpath to $JAVA_OPTS
  • Contributes Google Stackdriver Credentials helper to a layer marked launch.
  • Sets $GOOGLE_APPLICATION_CREDENTIALS.

Configuration

Environment Variable Description
$BPL_GOOGLE_STACKDRIVER_MODULE Configures the module name. Defaults to default-module.
$BPL_GOOGLE_STACKDRIVER_VERSION Configures the module version. Defaults to empty.

License

This buildpack is released under version 2.0 of the Apache License.

关于
361.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号