Supported Versions
- We currently support all versions of Grape since 1.2.
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 -
Add middleware to start (and stop) Atatus when booting your app.