Git Product home page Git Product logo

google-stackdriver-cnb's Introduction

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.

google-stackdriver-cnb's People

Contributors

nebhale avatar twoseat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.