use beeline 2.0 (#6568) [deploy]

This commit is contained in:
Liz Fong-Jones 2020-03-10 12:35:15 -04:00 committed by GitHub
parent 502bef156e
commit 239edd5204
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 10 deletions

View file

@ -50,7 +50,7 @@ gem "gemoji", "~> 4.0.0.rc2" # Character information and metadata for standard a
gem "gibbon", "~> 3.3" # API wrapper for MailChimp's API
gem "google-api-client", "~> 0.37" # Client for accessing Google APIs
gem "honeybadger", "~> 4.5" # Used for tracking application errors
gem "honeycomb-beeline", "~> 1.3.0" # Monitoring and Observability gem
gem "honeycomb-beeline", "~> 2.0.0" # Monitoring and Observability gem
gem "html_truncator", "~> 0.4" # Truncate an HTML string properly
gem "htmlentities", "~> 4.3", ">= 4.3.4" # A module for encoding and decoding (X)HTML entities
gem "httparty", "~> 0.18" # Makes http fun! Also, makes consuming restful web services dead easy
@ -59,7 +59,6 @@ gem "jbuilder", "~> 2.10" # Create JSON structures via a Builder-style DSL
gem "jquery-rails", "~> 4.3" # A gem to automate using jQuery with Rails
gem "kaminari", "~> 1.2" # A Scope & Engine based, clean, powerful, customizable and sophisticated paginator
gem "katex", "~> 0.6.0" # This rubygem enables you to render TeX math to HTML using KaTeX. It uses ExecJS under the hood
gem "libhoney", "~> 1.14" # Ruby gem for sending data to Honeycomb
gem "liquid", "~> 4.0" # A secure, non-evaling end user template engine with aesthetic markup
gem "nokogiri", "~> 1.10" # HTML, XML, SAX, and Reader parser
gem "octokit", "~> 4.16" # Simple wrapper for the GitHub API

View file

@ -395,8 +395,8 @@ GEM
hashie (4.1.0)
heapy (0.1.4)
honeybadger (4.5.6)
honeycomb-beeline (1.3.0)
libhoney (~> 1.8)
honeycomb-beeline (2.0.0)
libhoney (~> 1.14, >= 1.14.2)
html_tokenizer (0.0.7)
html_truncator (0.4.2)
nokogiri (~> 1.5)
@ -409,7 +409,7 @@ GEM
http-accept (1.7.0)
http-cookie (1.0.3)
domain_name (~> 0.5)
http-form_data (2.2.0)
http-form_data (2.3.0)
http-parser (1.2.1)
ffi-compiler (>= 1.0, < 2.0)
http_parser.rb (0.6.0)
@ -919,7 +919,7 @@ DEPENDENCIES
guard-livereload (~> 2.5)
guard-rspec (~> 4.7)
honeybadger (~> 4.5)
honeycomb-beeline (~> 1.3.0)
honeycomb-beeline (~> 2.0.0)
html_truncator (~> 0.4)
htmlentities (~> 4.3, >= 4.3.4)
httparty (~> 0.18)
@ -929,7 +929,6 @@ DEPENDENCIES
kaminari (~> 1.2)
katex (~> 0.6.0)
launchy (~> 2.5)
libhoney (~> 1.14)
liquid (~> 4.0)
memory_profiler (~> 0.9)
nakayoshi_fork (~> 0.0.4)

View file

@ -31,7 +31,7 @@ RSpec.describe Sidekiq::HoneycombMiddleware do
TestSidekiqWorker.perform_async("dont fail")
end
collected_data = Honeycomb.client.send("client").events.map(&:data).detect { |h| h["sidekiq.args"] == expected_hash["sidekiq.args"] }
collected_data = Honeycomb.libhoney.events.map(&:data).detect { |h| h["sidekiq.args"] == expected_hash["sidekiq.args"] }
expect(collected_data).to include(expected_hash)
end
@ -51,7 +51,7 @@ RSpec.describe Sidekiq::HoneycombMiddleware do
TestSidekiqWorker.perform_async
end
collected_data = Honeycomb.client.send("client").events.map(&:data).detect { |h| h["sidekiq.args"] == expected_hash["sidekiq.args"] }
collected_data = Honeycomb.libhoney.events.map(&:data).detect { |h| h["sidekiq.args"] == expected_hash["sidekiq.args"] }
expect(collected_data).to include(expected_hash)
end
end
@ -73,7 +73,7 @@ RSpec.describe Sidekiq::HoneycombMiddleware do
expect { TestSidekiqWorker.perform_async("fail") }.to raise_error(StandardError)
end
collected_data = Honeycomb.client.send("client").events.map(&:data).detect { |h| h["sidekiq.args"] == error_hash["sidekiq.args"] }
collected_data = Honeycomb.libhoney.events.map(&:data).detect { |h| h["sidekiq.args"] == error_hash["sidekiq.args"] }
expect(collected_data).to include(error_hash)
end
end