module Honeycomb
main module
Constants
- INTEGRATIONS
Attributes
client[R]
Public Class Methods
configure() { |config| ... }
click to toggle source
# File lib/honeycomb-beeline.rb, line 32 def configure Configuration.new.tap do |config| yield config @client = Honeycomb::Client.new(configuration: config) end @client end
integrations_to_load()
click to toggle source
# File lib/honeycomb-beeline.rb, line 50 def integrations_to_load if ENV["HONEYCOMB_INTEGRATIONS"] ENV["HONEYCOMB_INTEGRATIONS"].split(",") else INTEGRATIONS end end
load_integrations()
click to toggle source
# File lib/honeycomb-beeline.rb, line 41 def load_integrations integrations_to_load.each do |integration| begin require "honeycomb/integrations/#{integration}" rescue LoadError end end end