cd $MY_GAE_APPLICATION
git clone https://github.com/DataDog/gae_datadog
You need to serve the Datadog requests to the Datadog module, include in your app.yaml:
handlers:
# Should probably be at the beginning of the list
# so it's not clobbered by a catchall route
- url: /datadog
script: gae_datadog.datadog.app
Set your API key from the integration settings on Datadog
env_variables:
DATADOG_API_KEY: 'YOURAPIKEY'
This gist will show you an example of how to use custom metrics in your code.