Name: datadog-cloudfoundry-buildpack
Owner: Datadog, Inc.
Description: Datadog Cloud Foundry Buildpack
Created: 2017-10-23 20:03:20.0
Updated: 2018-05-24 17:08:51.0
Pushed: 2018-05-24 17:54:03.0
Homepage: null
Size: 12020
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a decorator buildpack for Cloud Foundry. It will install a Datadog DogStatsD binary in the container your app is running on. This only contains the DogStatsd components of Datadog Agent, which has limited overhead.
First, you will have to install the Meta Buildpack. This enables apps to use decorator buildpacks. Follow the instructions to get the buildpack and upload it if you don't already have it.
Download the latest Datadog build pack release. After you download the zipfile, you will have to upload it to Cloud Foundry environment.
reate-buildpack datadog-cloudfoundry-buildpack datadog-cloudfoundry-buildpack.zip 99 --enable
You will need to set an API Key in your environment to enable the buildpack:
t the environment variable
et-env $YOUR_APP_NAME DD_API_KEY $YOUR_DATADOG_API_KEY
stage the application to get it to pick up the new environment variable and use the buildpack
estage $YOUR_APP_NAME
You're all set up to use DogStatsD. Import the relevant library and start sending data! To learn more, check our our documentation. Additionally, we have a list of DogStatsD libraries you can check out to find one that's compatible with your application.
To build this buildpack, simply edit the relevant files and run the ./build
script. If you want to upload it, run ./upload
.