diegocanaryapp
Note: This repository should be imported as code.cloudfoundry.org/diegocanaryapp
.
Simple canary app to test long-running Diego deployments
Usage
Deploy instances of the canary app to your Runtime/Diego cluster:
# target the CF org and space intended for the app
export DEPLOYMENT_NAME='cf-your-deployment-diego'
./scripts/deploy
- The app name defaults to
diego-canary-app
, and can be overridden with the APP_NAME
environment variable.
- The instance count defaults to 20, and can be overridden with the
INSTANCE_COUNT
environment variable.
- The domain defaults to the default domain for the targeted space, and can be overriden with the
DOMAIN
environment variable.
- For a dry run, set the
CF_COMMAND
environment variable to 'echo cf'
.
- If using a syslog forwarding service (to Papertrail, for example), specify the name of the service to bind to the app as
SERVICE_TO_BIND
.
Datadog
Set up up/down monitoring and email alerting via Pingdom:
- Log in to Pingdom.
- Add an uptime check for the URL of the canary app, and choose the alert policy for the appropriate team.