Skip to content

scoutapp/scout_apm_ruby_logging

Repository files navigation

ScoutApm Ruby Logging

Build Status

A Ruby gem for detailed, easy to navigate, managed log monitoring.

Sign up for an account at https://www.scoutapm.com to start monitoring your logs and application performance in minutes.

Getting Started

Add the gem to your Gemfile:

gem 'scout_apm_logging'

Update your Gemfile:

bundle install

Update your RAILS_ROOT/config/scout_apm.yml and add the following:

  # ... Previous &defaults or environment defined configurations

  # ENV equivalent: SCOUT_LOGS_MONITOR=true
  # ENV equivalent: SCOUT_LOGS_INGEST_KEY=...

  logs_monitor: true
  logs_ingest_key: ...

Deploy 🚀

Testing

To run the entire test suite:

bundle exec rake test

To run an individual test file within the suite:

bundle exec rake test file=/path/to/spec/_spec.rb

To run test(s) against a specific Ruby version:

DOCKER_RUBY_VERSION=3.3 bundle exec rake test

Local

Point your Gemfile at your local checkout:

gem 'scout_apm_logging', path: '/path/to/scout_apm_ruby_logging'

Help

Email [email protected] if you need a hand.

About

Detailed managed log monitoring for Ruby on Rails

Resources

Stars

Watchers

Forks

Packages

No packages published