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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -14
- data/CONFIG.md +1 -2
- data/LICENSE +118 -124
- data/README.md +27 -34
- data/Rakefile +1 -1
- data/examples/DNT.md +1 -1
- data/examples/tracing_async_threads.rb +1 -2
- data/ext/oboe_metal/extconf.rb +1 -1
- data/ext/oboe_metal/tests/test.rb +1 -1
- data/gemfiles/delayed_job.gemfile +6 -1
- data/gemfiles/libraries.gemfile +2 -0
- data/gemfiles/rails40.gemfile +1 -1
- data/gemfiles/rails41.gemfile +1 -1
- data/gemfiles/rails42.gemfile +1 -1
- data/init.rb +1 -1
- data/lib/joboe_metal.rb +3 -3
- data/lib/oboe.rb +1 -1
- data/lib/oboe_metal.rb +1 -1
- data/lib/rails/generators/traceview/install_generator.rb +3 -3
- data/lib/rails/generators/traceview/templates/traceview_initializer.rb +4 -4
- data/lib/traceview.rb +1 -1
- data/lib/traceview/api.rb +2 -2
- data/lib/traceview/api/layerinit.rb +1 -1
- data/lib/traceview/api/logging.rb +1 -1
- data/lib/traceview/api/memcache.rb +1 -1
- data/lib/traceview/api/profiling.rb +1 -1
- data/lib/traceview/api/tracing.rb +1 -1
- data/lib/traceview/api/util.rb +1 -1
- data/lib/traceview/base.rb +1 -1
- data/lib/traceview/config.rb +2 -2
- data/lib/traceview/frameworks/grape.rb +1 -1
- data/lib/traceview/frameworks/padrino.rb +1 -1
- data/lib/traceview/frameworks/padrino/templates.rb +1 -1
- data/lib/traceview/frameworks/rails.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller2.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller3.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller4.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller5.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller_api.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_view.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_view_2x.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_view_30.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/active_record.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/mysql.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/mysql2.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/postgresql.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/utils.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/utils5x.rb +1 -1
- data/lib/traceview/frameworks/sinatra.rb +1 -1
- data/lib/traceview/frameworks/sinatra/templates.rb +1 -1
- data/lib/traceview/inst/bunny-client.rb +1 -1
- data/lib/traceview/inst/bunny-consumer.rb +1 -1
- data/lib/traceview/inst/curb.rb +1 -1
- data/lib/traceview/inst/dalli.rb +1 -1
- data/lib/traceview/inst/delayed_job.rb +1 -1
- data/lib/traceview/inst/em-http-request.rb +1 -1
- data/lib/traceview/inst/excon.rb +1 -1
- data/lib/traceview/inst/faraday.rb +1 -1
- data/lib/traceview/inst/http.rb +1 -1
- data/lib/traceview/inst/httpclient.rb +1 -1
- data/lib/traceview/inst/memcache.rb +1 -1
- data/lib/traceview/inst/memcached.rb +1 -1
- data/lib/traceview/inst/mongo.rb +1 -1
- data/lib/traceview/inst/mongo2.rb +1 -1
- data/lib/traceview/inst/moped.rb +1 -1
- data/lib/traceview/inst/rack.rb +1 -1
- data/lib/traceview/inst/redis.rb +1 -1
- data/lib/traceview/inst/resque.rb +1 -1
- data/lib/traceview/inst/rest-client.rb +1 -1
- data/lib/traceview/inst/sequel.rb +1 -1
- data/lib/traceview/inst/sidekiq-client.rb +1 -1
- data/lib/traceview/inst/sidekiq-worker.rb +1 -1
- data/lib/traceview/inst/twitter-cassandra.rb +1 -1
- data/lib/traceview/inst/typhoeus.rb +1 -1
- data/lib/traceview/instrumentation.rb +1 -1
- data/lib/traceview/legacy_method_profiling.rb +1 -1
- data/lib/traceview/loading.rb +1 -1
- data/lib/traceview/logger.rb +1 -1
- data/lib/traceview/ruby.rb +1 -1
- data/lib/traceview/support.rb +5 -6
- data/lib/traceview/test.rb +1 -1
- data/lib/traceview/thread_local.rb +1 -1
- data/lib/traceview/util.rb +1 -1
- data/lib/traceview/version.rb +2 -2
- data/lib/traceview/xtrace.rb +1 -1
- data/test/frameworks/apps/grape_nested.rb +1 -1
- data/test/frameworks/apps/grape_simple.rb +1 -1
- data/test/frameworks/apps/sinatra_simple.rb +1 -1
- data/test/frameworks/grape_test.rb +1 -1
- data/test/frameworks/padrino_test.rb +1 -1
- data/test/frameworks/rails3x_test.rb +1 -1
- data/test/frameworks/rails4x_test.rb +1 -1
- data/test/frameworks/rails5x_api_test.rb +1 -1
- data/test/frameworks/rails5x_test.rb +1 -1
- data/test/frameworks/sinatra_test.rb +1 -1
- data/test/instrumentation/bunny_client_test.rb +1 -1
- data/test/instrumentation/bunny_consumer_test.rb +1 -1
- data/test/instrumentation/curb_test.rb +1 -1
- data/test/instrumentation/dalli_test.rb +1 -1
- data/test/instrumentation/em_http_request_test.rb +2 -2
- data/test/instrumentation/excon_test.rb +1 -1
- data/test/instrumentation/faraday_test.rb +1 -1
- data/test/instrumentation/http_test.rb +1 -1
- data/test/instrumentation/httpclient_test.rb +1 -1
- data/test/instrumentation/memcache_test.rb +1 -1
- data/test/instrumentation/memcached_test.rb +1 -1
- data/test/instrumentation/mongo_v1_test.rb +1 -1
- data/test/instrumentation/mongo_v2_index_test.rb +1 -1
- data/test/instrumentation/mongo_v2_test.rb +1 -1
- data/test/instrumentation/mongo_v2_view_test.rb +1 -1
- data/test/instrumentation/moped_test.rb +1 -1
- data/test/instrumentation/rack_test.rb +1 -1
- data/test/instrumentation/redis_hashes_test.rb +1 -1
- data/test/instrumentation/redis_keys_test.rb +1 -1
- data/test/instrumentation/redis_lists_test.rb +1 -1
- data/test/instrumentation/redis_misc_test.rb +1 -1
- data/test/instrumentation/redis_sets_test.rb +1 -1
- data/test/instrumentation/redis_sortedsets_test.rb +1 -1
- data/test/instrumentation/redis_strings_test.rb +1 -1
- data/test/instrumentation/resque_test.rb +1 -1
- data/test/instrumentation/rest-client_test.rb +1 -1
- data/test/instrumentation/sequel_mysql2_test.rb +1 -1
- data/test/instrumentation/sequel_mysql_test.rb +1 -1
- data/test/instrumentation/sequel_pg_test.rb +1 -1
- data/test/instrumentation/sidekiq-client_test.rb +1 -1
- data/test/instrumentation/sidekiq-worker_test.rb +1 -1
- data/test/instrumentation/twitter-cassandra_test.rb +1 -1
- data/test/instrumentation/typhoeus_test.rb +1 -1
- data/test/jobs/delayed_job/db_worker_job.rb +1 -1
- data/test/jobs/delayed_job/error_worker_job.rb +1 -1
- data/test/jobs/delayed_job/remote_call_worker_job.rb +1 -1
- data/test/jobs/resque/db_worker_job.rb +1 -1
- data/test/jobs/resque/error_worker_job.rb +1 -1
- data/test/jobs/resque/remote_call_worker_job.rb +1 -1
- data/test/jobs/sidekiq/db_worker_job.rb +1 -1
- data/test/jobs/sidekiq/error_worker_job.rb +1 -1
- data/test/jobs/sidekiq/remote_call_worker_job.rb +1 -1
- data/test/minitest_helper.rb +1 -1
- data/test/profiling/legacy_method_profiling_test.rb +1 -1
- data/test/profiling/method_profiling_test.rb +1 -1
- data/test/queues/delayed_job-client_test.rb +1 -1
- data/test/queues/delayed_job-worker_test.rb +1 -1
- data/test/reporter/reporter_test.rb +1 -1
- data/test/servers/delayed_job.rb +1 -1
- data/test/servers/rackapp_8101.rb +1 -1
- data/test/servers/rails3x_8140.rb +1 -1
- data/test/servers/rails4x_8140.rb +1 -1
- data/test/servers/rails5x_8140.rb +1 -1
- data/test/servers/rails5x_api_8150.rb +1 -1
- data/test/servers/sidekiq.rb +1 -1
- data/test/servers/sidekiq_initializer.rb +1 -1
- data/test/support/auto_tracing_test.rb +1 -1
- data/test/support/avw_handling_test.rb +1 -1
- data/test/support/backcompat_test.rb +1 -1
- data/test/support/config_test.rb +1 -1
- data/test/support/dnt_test.rb +1 -1
- data/test/support/init_report_test.rb +1 -1
- data/test/support/liboboe_settings_test.rb +1 -1
- data/test/support/noop_test.rb +1 -1
- data/test/support/sql_sanitize_test.rb +1 -1
- data/test/support/tracing_mode_test.rb +1 -1
- data/test/support/tvalias_test.rb +1 -1
- data/test/support/xtrace_test.rb +1 -1
- data/traceview.gemspec +4 -5
- metadata +76 -80
- data/test/benchmarks/allocations_test.rb +0 -14
- 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
|