Sha256: b965e89f37fa68979d4c4517a42c99e20bf29cafd070dde2d51a9084d67f28eb
Contents?: true
Size: 518 Bytes
Versions: 1
Compression:
Stored size: 518 Bytes
Contents
# frozen_string_literal: true require "minato/trace/version" require "minato/trace/railtie" require "minato/trace/middleware" require "google/cloud/trace/rails" module Minato module Trace BLACKLIST_PATHS = ["/health/alive", "/health/ready"].freeze def self.init Google::Cloud.configure do |config| config.use_logging = false config.use_trace = true config.trace.sampler = Google::Cloud::Trace::TimeSampler.new(path_blacklist: BLACKLIST_PATHS.dup) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minato-trace-0.1.6.pre.2 | lib/minato/trace.rb |