Upsun Cloud Continuous Profiler is powered by Upsun Blackfire.
It is available directly from the Console, under Apps and Services → your app → Profiling.
The Ruby continuous profiling is currently made across 3 dimensions:
- CPU Time: Time spent running on the CPU
- Wall-time: elapsed time per function call
- Allocations: Time spent running on the CPU
The default sampling frequency is 100 Hz. This means the Ruby continuous profiler is
collecting information 100 times per second.
Prerequisites
Upsun Cloud Continuous Profiler requires Ruby >= 3.0.
Installation
- Add the
datadog gem to your Gemfile or gems.rb file:
-
Install the gems running the
bundle install command.
-
Add the
ddprofrb exec command to your Ruby application start command:
Rails example:
Alternatively, start the profiler by adding the following code in your application’s entry point if you can’t start it using ddprofrb exec:
Last modified on September 16, 2026