Datadog-Heroku Buildpack troubleshooting
Dash が新機能を発表!インシデントマネジメント、Continuous Profiler など多数の機能が追加されました! Dash イベントで発表された新機能!

Datadog-Heroku Buildpack troubleshooting

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

To start debugging Heroku, use the agent-wrapper command with the information/debugging commands listed in the Agent’s documentation.

For example, to display the status of your Datadog Agent and enabled integrations, run:

agent-wrapper status

Next, verify the Datadog Agent is listening by sending a custom metric:

# From your project directory:
heroku run bash

# Once your Dyno has started and you are at the command line
echo -n "custom_metric:60|g|#shell" >/dev/udp/localhost/8125

After a few moments, use the metrics explorer to verify that the metric was received.

It can also be helpful to obtain Agent and Trace Agent logs from your running dyno.

Download Datadog Agent logs:

heroku ps:copy /app/.apt/var/log/datadog/datadog.log --dyno=<YOUR DYNO NAME>

Download Datadog Trace Agent logs:

heroku ps:copy /app/.apt/var/log/datadog/datadog-apm.log --dyno=<YOUR DYNO NAME>

Send a flare

Generate a flare by running the agent-wrapper command:

agent-wrapper flare

このページ