Sha256: fc1106ddae490344c0d627dfacee2edb1a4a7d47f6ff565256162ffdf22b88b9
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true require "minato/stackdriver/version" require "minato/stackdriver/railtie" module Minato module Stackdriver BLACKLIST_PATHS = ["/health/alive", "/health/ready"].freeze def self.init(app) app.config.google_cloud.use_logging = false app.config.google_cloud.use_trace = true app.config.google_cloud.trace_sampler = Google::Cloud::Trace::TimeSampler.new(path_blacklist: BLACKLIST_PATHS.dup) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
minato-stackdriver-0.1.0.pre.2 | lib/minato/stackdriver.rb |
minato-stackdriver-0.1.0.pre.1 | lib/minato/stackdriver.rb |