Reference documentation and code samples for the stackdriver module Stackdriver.
Stackdriver
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,["# stackdriver - Module Stackdriver (v0.23.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.23.0 (latest)](/ruby/docs/reference/stackdriver/latest/Stackdriver)\n- [0.22.0](/ruby/docs/reference/stackdriver/0.22.0/Stackdriver) \nReference documentation and code samples for the stackdriver module Stackdriver.\n\nStackdriver\n-----------\n\nThe stackdriver gem instruments a Ruby web application for Stackdriver\ndiagnostics. When loaded, it integrates with Rails, Sinatra, or other\nRack-based web frameworks to collect application diagnostic and monitoring\ninformation for your application.\n\nSpecifically, this gem is a convenience package that loads the following gems:\n\n- [google-cloud-debugger](https://googleapis.dev/ruby/google-cloud-debugger/latest)\n- [google-cloud-error_reporting](https://googleapis.dev/ruby/google-cloud-error_reporting/latest)\n- [google-cloud-logging](https://googleapis.dev/ruby/google-cloud-logging/latest)\n- [google-cloud-trace](https://googleapis.dev/ruby/google-cloud-trace/latest)\n\nOn top of that, stackdriver gem automatically activates the following\ninstrumentation features:\n\n\u003cbr /\u003e\n\n- [google-cloud-debugger instrumentation](https://googleapis.dev/ruby/google-cloud-debugger/latest/file.INSTRUMENTATION.html)\n- [google-cloud-error_reporting instrumentation](https://googleapis.dev/ruby/google-cloud-error_reporting/latest/file.INSTRUMENTATION.html)\n- [google-cloud-logging instrumentation](https://googleapis.dev/ruby/google-cloud-logging/latest/file.INSTRUMENTATION.html)\n- [google-cloud-trace instrumentation](https://googleapis.dev/ruby/google-cloud-trace/latest/file.INSTRUMENTATION.html)\n\n### Usage\n\n\u003cbr /\u003e\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\nExample\n-------\n\n```ruby\nrequire \"stackdriver\"\n```\n\nConstants\n---------\n\n### VERSION\n\n**value:**\"0.23.0\".freeze"]]