Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

minato-trace

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minato-trace

  • 0.1.7
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Minato::Trace

Add support to Google Cloud Trace to your Minato Rails Application.

Usage

Install this gem and your application will be abble to send trace information to Google Cloud Trace for any request. To configure distributed trace with other microservices see Configuring distributed trace

Integration with Google Cloud Logging

For integration with Google Cloud Logging you have to install minato-logger-rails v0.1.13+.

Installation

Add this line to your application's Gemfile:

gem "minato-trace"

And then execute:

$ bundle

Or install it yourself as:

$ gem install minato-trace

Configuring distributed trace

To configure distributed trace with others services, put this config into the service config file:

Add to service SDK initializer config file: config/initializers/{service_name}.rb

{ServiceClass}.configure do |config|
  config.use Minato::Trace::Middleware::DistributedTraceContext
end

Disable trace

Trace is enabled by default in remote environments. If you want to disable trace, set an environment variable MINATO_TRACE_DISABLE=true in your app.

In local environment like angeplus-infra-local, the trace is disabled by default.

Changelog

Changelog information could be found here.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 31 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc