The stackdriver gem instruments a Ruby web application for Stackdriver
diagnostics. When loaded, it integrates with Rails, Sinatra, or other Rack-based
web frameworks to collect application diagnostic and monitoring information for
your application.
Specifically, this gem is a convenience package that loads the following gems:
Instead of requiring multiple Stackdriver client library gems and explicitly
load each built-in Railtie classes, now users can achieve all these through
requiring this single stackdriver umbrella gem.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["Version latestkeyboard_arrow_down\n\n- [0.23.0 (latest)](/ruby/docs/reference/stackdriver/latest)\n- [0.22.0](/ruby/docs/reference/stackdriver/0.22.0) \n\nStackdriver\n===========\n\nThe stackdriver gem instruments a Ruby web application for Stackdriver\ndiagnostics. When loaded, it integrates with Rails, Sinatra, or other Rack-based\nweb frameworks to collect application diagnostic and monitoring information for\nyour application.\n\nSpecifically, this gem is a convenience package that loads the following gems:\n\n- \\[google-cloud-debugger\\](\u003chttps://googleapis.dev/ruby/google-cloud-debugger/latest\u003e\n- \\[google-cloud-error_reporting\\](\u003chttps://googleapis.dev/ruby/google-cloud-error_reporting/latest\u003e\n- \\[google-cloud-logging\\](\u003chttps://googleapis.dev/ruby/google-cloud-logging/latest\u003e\n- \\[google-cloud-trace\\](\u003chttps://googleapis.dev/ruby/google-cloud-trace/latest\u003e\n\nOn top of that, stackdriver gem automatically activates the following\ninstrumentation features:\n\n- \\[google-cloud-debugger instrumentation\\](\u003chttps://googleapis.dev/ruby/google-cloud-debugger/latest/file.INSTRUMENTATION.html\u003e\n- \\[google-cloud-error_reporting strumentation\\](\u003chttps://googleapis.dev/ruby/google-cloud-error_reporting/latest/file.INSTRUMENTATION.html\u003e\n- \\[google-cloud-logging instrumentation\\](\u003chttps://googleapis.dev/ruby/google-cloud-logging/latest/file.INSTRUMENTATION.html\u003e\n- \\[google-cloud-trace instrumentation\\](\u003chttps://googleapis.dev/ruby/google-cloud-trace/latest/file.INSTRUMENTATION.html\u003e\n\nUsage\n-----\n\nInstead of requiring multiple Stackdriver client library gems and explicitly\nload each built-in Railtie classes, now users can achieve all these through\nrequiring this single **stackdriver** umbrella gem. \n\n```ruby\nrequire \"stackdriver\"\n```"]]