Stackdriver Trace API: Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenCensus.
This page contains information about getting started with the Stackdriver Trace API using the Google API Client Library for Ruby. In addition, you may be interested in the following documentation:
- Read the Getting started guide for the Google API Client Library for Ruby.
- Interact with this API in your browser using the APIs Explorer for the Stackdriver Trace API.
Installing the google-api-client gem
If you haven't installed the Google API Client Library for Ruby before, open a terminal and install using
$ gem install google-api-client
If you already have the gem installed and would simply like to update to the latest version:
$ gem update -y google-api-client
Depending on your system, you may need to prepend these commands with
Getting started with the Google API Client Library for Ruby
Be sure to check our extensive Getting started guide for a quick overview of how to make your first request.