# 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