Sha256: 2e12e069ff42373d4969704976f3a1f626f3f1e4ab29f5c30b0a399743c2469d
Contents?: true
Size: 505 Bytes
Versions: 1
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true require "minato/trace/version" require "minato/trace/railtie" require "minato/trace/middleware" require "stackdriver" 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.1 | lib/minato/trace.rb |