Sha256: 3cebc972e9c656789a999afbcda497617f8870ee7442c0508dca0a99c15a1e16
Contents?: true
Size: 489 Bytes
Versions: 1
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true require "minato/stackdriver/version" require "minato/stackdriver/railtie" require "stackdriver" module Minato module Stackdriver 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-stackdriver-0.1.0.pre.4 | lib/minato/stackdriver.rb |