Supported Versions
- 4.2 and above.
Installation steps
-
Add the Atatus agent gem to your Gemfile.
-
Install the Atatus Ruby agent.
The Ruby bundle install will automatically require Atatus.
-
Config File Structure:
The Ruby agent’s
atatus.ymlis a YAML configuration file comprising a common section followed by environment-specific sections likedevelopment,testing, andproduction. Environment Detection: The agent selects the config section based on environment variables like RUBY_ENV, RAILS_ENV, or RACK_ENV. If none are set, it defaults to the development environment. Failure to indent correctly may result in the agent throwing an error during startup, indicating “Unable to parse configuration file”.Example: config/atatus.yml - Restart your Rails ruby server to view your performance data within minutes.