External Monitoring Systems

How to connect external monitoring systems to your Databand installation.

Integrate New Relic Monitoring

This manual supports docker-compose -only deployments.

  1. Use the JSON config file (which you've downloaded from NewRelic.
  2. Copy JSON file into the deployment folder under databand/config/webserver/newrelic.ini.
  3. docker-compose.yml will map this path to the web and tracking services (you don't need to change anything).
  4. docker-compose.yml will inject this path as an environment variable (you don't need to change anything).
  5. In the command part of tracking-server: and webserver:, add new relic command:

change:

command:
      - bash
      - -c
      - |
        set -e;
        dbnd tracker wait --timeout 60;
        if [ "${DATADOG_ENABLED}" = "true" ]; then
          echo "running with ddtrace enabled"
          ddtrace-run dbnd webserver -p 8091;
        else
          dbnd webserver -p 8091;
        fi

to:

command:
      - bash
      - -c
      - |
        set -e;
        dbnd tracker wait --timeout 60;
        if [ "${DATADOG_ENABLED}" = "true" ]; then
          echo "running with ddtrace enabled"
          ddtrace-run dbnd webserver -p 8091;
        else
          newrelic-admin run-program dbnd webserver -p 8091;
        fi

Note: The only part that needs to be changed is:

newrelic-admin run-program dbnd webserver -p 8091;

Enabling Datadog

By default, Datadog logging is disabled when using make up-databand. You need to set DATADOG_ENABLED=true and
override the following variables to match your setup in custom.env:

  • DATADOG_SITE
  • DATADOG_API_KEY
  • DATADOG_ENV

Use make up-d-datadog to launch the Datadog agent.


Did this page help you?