DataDog/datadog-cloudfoundry-buildpack

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Datadog Cloud Foundry Buildpack

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.

Use
Install the Meta Buildpack

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.

Upload the Datadog Cloud Foundry Buildpack

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
Configuration

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
DogStatsD Away!

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.

Building

To build this buildpack, simply edit the relevant files and run the ./build script. If you want to upload it, run ./upload.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.