traceview 3.8.3-java → 3.8.4-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -14
  3. data/CONFIG.md +1 -2
  4. data/LICENSE +118 -124
  5. data/README.md +27 -34
  6. data/Rakefile +1 -1
  7. data/examples/DNT.md +1 -1
  8. data/examples/tracing_async_threads.rb +1 -2
  9. data/ext/oboe_metal/extconf.rb +1 -1
  10. data/ext/oboe_metal/tests/test.rb +1 -1
  11. data/gemfiles/delayed_job.gemfile +6 -1
  12. data/gemfiles/libraries.gemfile +2 -0
  13. data/gemfiles/rails40.gemfile +1 -1
  14. data/gemfiles/rails41.gemfile +1 -1
  15. data/gemfiles/rails42.gemfile +1 -1
  16. data/init.rb +1 -1
  17. data/lib/joboe_metal.rb +3 -3
  18. data/lib/oboe.rb +1 -1
  19. data/lib/oboe_metal.rb +1 -1
  20. data/lib/rails/generators/traceview/install_generator.rb +3 -3
  21. data/lib/rails/generators/traceview/templates/traceview_initializer.rb +4 -4
  22. data/lib/traceview.rb +1 -1
  23. data/lib/traceview/api.rb +2 -2
  24. data/lib/traceview/api/layerinit.rb +1 -1
  25. data/lib/traceview/api/logging.rb +1 -1
  26. data/lib/traceview/api/memcache.rb +1 -1
  27. data/lib/traceview/api/profiling.rb +1 -1
  28. data/lib/traceview/api/tracing.rb +1 -1
  29. data/lib/traceview/api/util.rb +1 -1
  30. data/lib/traceview/base.rb +1 -1
  31. data/lib/traceview/config.rb +2 -2
  32. data/lib/traceview/frameworks/grape.rb +1 -1
  33. data/lib/traceview/frameworks/padrino.rb +1 -1
  34. data/lib/traceview/frameworks/padrino/templates.rb +1 -1
  35. data/lib/traceview/frameworks/rails.rb +1 -1
  36. data/lib/traceview/frameworks/rails/inst/action_controller.rb +1 -1
  37. data/lib/traceview/frameworks/rails/inst/action_controller2.rb +1 -1
  38. data/lib/traceview/frameworks/rails/inst/action_controller3.rb +1 -1
  39. data/lib/traceview/frameworks/rails/inst/action_controller4.rb +1 -1
  40. data/lib/traceview/frameworks/rails/inst/action_controller5.rb +1 -1
  41. data/lib/traceview/frameworks/rails/inst/action_controller_api.rb +1 -1
  42. data/lib/traceview/frameworks/rails/inst/action_view.rb +1 -1
  43. data/lib/traceview/frameworks/rails/inst/action_view_2x.rb +1 -1
  44. data/lib/traceview/frameworks/rails/inst/action_view_30.rb +1 -1
  45. data/lib/traceview/frameworks/rails/inst/active_record.rb +1 -1
  46. data/lib/traceview/frameworks/rails/inst/connection_adapters/mysql.rb +1 -1
  47. data/lib/traceview/frameworks/rails/inst/connection_adapters/mysql2.rb +1 -1
  48. data/lib/traceview/frameworks/rails/inst/connection_adapters/postgresql.rb +1 -1
  49. data/lib/traceview/frameworks/rails/inst/connection_adapters/utils.rb +1 -1
  50. data/lib/traceview/frameworks/rails/inst/connection_adapters/utils5x.rb +1 -1
  51. data/lib/traceview/frameworks/sinatra.rb +1 -1
  52. data/lib/traceview/frameworks/sinatra/templates.rb +1 -1
  53. data/lib/traceview/inst/bunny-client.rb +1 -1
  54. data/lib/traceview/inst/bunny-consumer.rb +1 -1
  55. data/lib/traceview/inst/curb.rb +1 -1
  56. data/lib/traceview/inst/dalli.rb +1 -1
  57. data/lib/traceview/inst/delayed_job.rb +1 -1
  58. data/lib/traceview/inst/em-http-request.rb +1 -1
  59. data/lib/traceview/inst/excon.rb +1 -1
  60. data/lib/traceview/inst/faraday.rb +1 -1
  61. data/lib/traceview/inst/http.rb +1 -1
  62. data/lib/traceview/inst/httpclient.rb +1 -1
  63. data/lib/traceview/inst/memcache.rb +1 -1
  64. data/lib/traceview/inst/memcached.rb +1 -1
  65. data/lib/traceview/inst/mongo.rb +1 -1
  66. data/lib/traceview/inst/mongo2.rb +1 -1
  67. data/lib/traceview/inst/moped.rb +1 -1
  68. data/lib/traceview/inst/rack.rb +1 -1
  69. data/lib/traceview/inst/redis.rb +1 -1
  70. data/lib/traceview/inst/resque.rb +1 -1
  71. data/lib/traceview/inst/rest-client.rb +1 -1
  72. data/lib/traceview/inst/sequel.rb +1 -1
  73. data/lib/traceview/inst/sidekiq-client.rb +1 -1
  74. data/lib/traceview/inst/sidekiq-worker.rb +1 -1
  75. data/lib/traceview/inst/twitter-cassandra.rb +1 -1
  76. data/lib/traceview/inst/typhoeus.rb +1 -1
  77. data/lib/traceview/instrumentation.rb +1 -1
  78. data/lib/traceview/legacy_method_profiling.rb +1 -1
  79. data/lib/traceview/loading.rb +1 -1
  80. data/lib/traceview/logger.rb +1 -1
  81. data/lib/traceview/ruby.rb +1 -1
  82. data/lib/traceview/support.rb +5 -6
  83. data/lib/traceview/test.rb +1 -1
  84. data/lib/traceview/thread_local.rb +1 -1
  85. data/lib/traceview/util.rb +1 -1
  86. data/lib/traceview/version.rb +2 -2
  87. data/lib/traceview/xtrace.rb +1 -1
  88. data/test/frameworks/apps/grape_nested.rb +1 -1
  89. data/test/frameworks/apps/grape_simple.rb +1 -1
  90. data/test/frameworks/apps/sinatra_simple.rb +1 -1
  91. data/test/frameworks/grape_test.rb +1 -1
  92. data/test/frameworks/padrino_test.rb +1 -1
  93. data/test/frameworks/rails3x_test.rb +1 -1
  94. data/test/frameworks/rails4x_test.rb +1 -1
  95. data/test/frameworks/rails5x_api_test.rb +1 -1
  96. data/test/frameworks/rails5x_test.rb +1 -1
  97. data/test/frameworks/sinatra_test.rb +1 -1
  98. data/test/instrumentation/bunny_client_test.rb +1 -1
  99. data/test/instrumentation/bunny_consumer_test.rb +1 -1
  100. data/test/instrumentation/curb_test.rb +1 -1
  101. data/test/instrumentation/dalli_test.rb +1 -1
  102. data/test/instrumentation/em_http_request_test.rb +2 -2
  103. data/test/instrumentation/excon_test.rb +1 -1
  104. data/test/instrumentation/faraday_test.rb +1 -1
  105. data/test/instrumentation/http_test.rb +1 -1
  106. data/test/instrumentation/httpclient_test.rb +1 -1
  107. data/test/instrumentation/memcache_test.rb +1 -1
  108. data/test/instrumentation/memcached_test.rb +1 -1
  109. data/test/instrumentation/mongo_v1_test.rb +1 -1
  110. data/test/instrumentation/mongo_v2_index_test.rb +1 -1
  111. data/test/instrumentation/mongo_v2_test.rb +1 -1
  112. data/test/instrumentation/mongo_v2_view_test.rb +1 -1
  113. data/test/instrumentation/moped_test.rb +1 -1
  114. data/test/instrumentation/rack_test.rb +1 -1
  115. data/test/instrumentation/redis_hashes_test.rb +1 -1
  116. data/test/instrumentation/redis_keys_test.rb +1 -1
  117. data/test/instrumentation/redis_lists_test.rb +1 -1
  118. data/test/instrumentation/redis_misc_test.rb +1 -1
  119. data/test/instrumentation/redis_sets_test.rb +1 -1
  120. data/test/instrumentation/redis_sortedsets_test.rb +1 -1
  121. data/test/instrumentation/redis_strings_test.rb +1 -1
  122. data/test/instrumentation/resque_test.rb +1 -1
  123. data/test/instrumentation/rest-client_test.rb +1 -1
  124. data/test/instrumentation/sequel_mysql2_test.rb +1 -1
  125. data/test/instrumentation/sequel_mysql_test.rb +1 -1
  126. data/test/instrumentation/sequel_pg_test.rb +1 -1
  127. data/test/instrumentation/sidekiq-client_test.rb +1 -1
  128. data/test/instrumentation/sidekiq-worker_test.rb +1 -1
  129. data/test/instrumentation/twitter-cassandra_test.rb +1 -1
  130. data/test/instrumentation/typhoeus_test.rb +1 -1
  131. data/test/jobs/delayed_job/db_worker_job.rb +1 -1
  132. data/test/jobs/delayed_job/error_worker_job.rb +1 -1
  133. data/test/jobs/delayed_job/remote_call_worker_job.rb +1 -1
  134. data/test/jobs/resque/db_worker_job.rb +1 -1
  135. data/test/jobs/resque/error_worker_job.rb +1 -1
  136. data/test/jobs/resque/remote_call_worker_job.rb +1 -1
  137. data/test/jobs/sidekiq/db_worker_job.rb +1 -1
  138. data/test/jobs/sidekiq/error_worker_job.rb +1 -1
  139. data/test/jobs/sidekiq/remote_call_worker_job.rb +1 -1
  140. data/test/minitest_helper.rb +1 -1
  141. data/test/profiling/legacy_method_profiling_test.rb +1 -1
  142. data/test/profiling/method_profiling_test.rb +1 -1
  143. data/test/queues/delayed_job-client_test.rb +1 -1
  144. data/test/queues/delayed_job-worker_test.rb +1 -1
  145. data/test/reporter/reporter_test.rb +1 -1
  146. data/test/servers/delayed_job.rb +1 -1
  147. data/test/servers/rackapp_8101.rb +1 -1
  148. data/test/servers/rails3x_8140.rb +1 -1
  149. data/test/servers/rails4x_8140.rb +1 -1
  150. data/test/servers/rails5x_8140.rb +1 -1
  151. data/test/servers/rails5x_api_8150.rb +1 -1
  152. data/test/servers/sidekiq.rb +1 -1
  153. data/test/servers/sidekiq_initializer.rb +1 -1
  154. data/test/support/auto_tracing_test.rb +1 -1
  155. data/test/support/avw_handling_test.rb +1 -1
  156. data/test/support/backcompat_test.rb +1 -1
  157. data/test/support/config_test.rb +1 -1
  158. data/test/support/dnt_test.rb +1 -1
  159. data/test/support/init_report_test.rb +1 -1
  160. data/test/support/liboboe_settings_test.rb +1 -1
  161. data/test/support/noop_test.rb +1 -1
  162. data/test/support/sql_sanitize_test.rb +1 -1
  163. data/test/support/tracing_mode_test.rb +1 -1
  164. data/test/support/tvalias_test.rb +1 -1
  165. data/test/support/xtrace_test.rb +1 -1
  166. data/traceview.gemspec +4 -5
  167. metadata +76 -80
  168. data/test/benchmarks/allocations_test.rb +0 -14
  169. data/test/benchmarks/tracing_api_test.rb +0 -15
@@ -1,14 +0,0 @@
1
- # Copyright (c) 2015 AppNeta, Inc.
2
- # All rights reserved.
3
-
4
- require 'minitest_helper'
5
-
6
- class BenchAllocations < Minitest::Test
7
- def test_trace_api
8
- assert_allocations 42 do
9
- TraceView::API.start_trace('bench') do
10
- nil
11
- end
12
- end
13
- end
14
- end
@@ -1,15 +0,0 @@
1
- # Copyright (c) 2015 AppNeta, Inc.
2
- # All rights reserved.
3
-
4
- require 'minitest_helper'
5
-
6
- class BenchTracingAPI < MiniTest::Benchmark
7
- def bench_api
8
- skip
9
- assert_performance_linear 0.99 do |input|
10
- TraceView::API.start_trace('bench') do
11
- nil
12
- end
13
- end
14
- end
15
- end