This library is an exporter for OpenTelemetry instrumentation which will help translate the spans into Google Cloud Trace understandable format and publish it to Trace service.
Please note that this project is released with a Contributor Code of Conduct. By
participating in this project you agree to abide by its terms.
See Code of Conduct
for more information.
License
This library is licensed under Apache 2.0. Full license text is available in
LICENSE.
[[["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,["Opentelemetry Google Cloud Trace exporter\n=========================================\n\nThis library is an exporter for OpenTelemetry instrumentation which will help translate the spans into Google Cloud Trace understandable format and publish it to Trace service.\n\nInstallation\n------------\n\n $ gem install opentelemetry-exporter-google_cloud_trace\n\nUsage\n-----\n\n require 'opentelemetry/sdk'\n require 'opentelemetry/instrumentation/all'\n require 'opentelemetry/exporter/google_cloud_trace'\n OpenTelemetry::SDK.configure do |c|\n c.service_name = 'test_app'\n c.add_span_processor(\n OpenTelemetry::SDK::Trace::Export::BatchSpanProcessor.new(\n OpenTelemetry::Exporter::GoogleCloudTrace::SpanExporter.new\n )\n )\n c.use_all() # enables all instrumentation!\n end\n\nContributing\n------------\n\nContributions to this library are always welcome and highly encouraged.\n\nSee the [Contributing Guide](./CONTRIBUTING \"Contributing Guide\")\nfor more information on how to get started.\n\nPlease note that this project is released with a Contributor Code of Conduct. By\nparticipating in this project you agree to abide by its terms.\nSee [Code of Conduct](./CODE_OF_CONDUCT \"Code of Conduct\")\nfor more information.\n\nLicense\n-------\n\nThis library is licensed under Apache 2.0. Full license text is available in\n[LICENSE](/ruby/docs/reference/opentelemetry-exporter-google_cloud_trace/latest/LICENSE).\n\nSupport\n-------\n\nPlease [report bugs at the project on\nGithub](https://github.com/GoogleCloudPlatform/opentelemetry-operations-ruby/issues). Don't\nhesitate to [ask\nquestions](http://stackoverflow.com/questions/tagged/google-cloud-platform+ruby)\nabout the client or APIs on [StackOverflow](http://stackoverflow.com)."]]