ddtrace 0.50.0 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +22 -0
- data/.gitignore +7 -0
- data/CHANGELOG.md +131 -0
- data/CONTRIBUTING.md +1 -5
- data/ddtrace.gemspec +10 -1
- data/docs/DevelopmentGuide.md +15 -0
- data/docs/GettingStarted.md +42 -4
- data/docs/ProfilingDevelopment.md +33 -14
- data/ext/ddtrace_profiling_native_extension/extconf.rb +28 -0
- data/ext/ddtrace_profiling_native_extension/profiling.c +17 -0
- data/lib/datadog/ci.rb +1 -0
- data/lib/datadog/ci/configuration/components.rb +1 -0
- data/lib/datadog/ci/configuration/settings.rb +1 -0
- data/lib/datadog/ci/context_flush.rb +1 -0
- data/lib/datadog/ci/contrib/cucumber/configuration/settings.rb +2 -1
- data/lib/datadog/ci/contrib/cucumber/ext.rb +1 -0
- data/lib/datadog/ci/contrib/cucumber/formatter.rb +1 -0
- data/lib/datadog/ci/contrib/cucumber/instrumentation.rb +1 -0
- data/lib/datadog/ci/contrib/cucumber/integration.rb +1 -0
- data/lib/datadog/ci/contrib/cucumber/patcher.rb +1 -0
- data/lib/datadog/ci/contrib/rspec/configuration/settings.rb +2 -1
- data/lib/datadog/ci/contrib/rspec/example.rb +1 -0
- data/lib/datadog/ci/contrib/rspec/ext.rb +1 -0
- data/lib/datadog/ci/contrib/rspec/integration.rb +1 -0
- data/lib/datadog/ci/contrib/rspec/patcher.rb +1 -0
- data/lib/datadog/ci/ext/app_types.rb +1 -0
- data/lib/datadog/ci/ext/environment.rb +229 -89
- data/lib/datadog/ci/ext/settings.rb +1 -0
- data/lib/datadog/ci/ext/test.rb +8 -1
- data/lib/datadog/ci/extensions.rb +1 -0
- data/lib/datadog/ci/test.rb +14 -0
- data/lib/datadog/contrib.rb +69 -0
- data/lib/datadog/core/environment/cgroup.rb +52 -0
- data/lib/datadog/core/environment/class_count.rb +20 -0
- data/lib/datadog/core/environment/container.rb +91 -0
- data/lib/datadog/core/environment/ext.rb +27 -0
- data/lib/datadog/core/environment/gc.rb +19 -0
- data/lib/datadog/core/environment/identity.rb +51 -0
- data/lib/datadog/core/environment/socket.rb +17 -0
- data/lib/datadog/core/environment/thread_count.rb +19 -0
- data/lib/datadog/core/environment/variable_helpers.rb +42 -0
- data/lib/ddtrace.rb +19 -49
- data/lib/ddtrace/analytics.rb +1 -0
- data/lib/ddtrace/auto_instrument.rb +2 -0
- data/lib/ddtrace/auto_instrument_base.rb +1 -0
- data/lib/ddtrace/buffer.rb +7 -5
- data/lib/ddtrace/chunker.rb +1 -0
- data/lib/ddtrace/configuration.rb +21 -2
- data/lib/ddtrace/configuration/agent_settings_resolver.rb +1 -0
- data/lib/ddtrace/configuration/base.rb +4 -3
- data/lib/ddtrace/configuration/components.rb +54 -11
- data/lib/ddtrace/configuration/dependency_resolver.rb +1 -0
- data/lib/ddtrace/configuration/option.rb +1 -0
- data/lib/ddtrace/configuration/option_definition.rb +1 -0
- data/lib/ddtrace/configuration/option_definition_set.rb +1 -0
- data/lib/ddtrace/configuration/option_set.rb +1 -0
- data/lib/ddtrace/configuration/options.rb +1 -0
- data/lib/ddtrace/configuration/pin_setup.rb +1 -0
- data/lib/ddtrace/configuration/settings.rb +24 -9
- data/lib/ddtrace/context.rb +1 -0
- data/lib/ddtrace/context_flush.rb +1 -0
- data/lib/ddtrace/context_provider.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/event.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/events.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/events/broadcast.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/events/perform_action.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/events/transmit.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/ext.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/integration.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/patcher.rb +1 -0
- data/lib/ddtrace/contrib/action_pack/action_controller/instrumentation.rb +21 -10
- data/lib/ddtrace/contrib/action_pack/action_controller/patcher.rb +1 -0
- data/lib/ddtrace/contrib/action_pack/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/action_pack/ext.rb +1 -0
- data/lib/ddtrace/contrib/action_pack/integration.rb +1 -0
- data/lib/ddtrace/contrib/action_pack/patcher.rb +1 -0
- data/lib/ddtrace/contrib/action_pack/utils.rb +1 -0
- data/lib/ddtrace/contrib/action_view/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/action_view/event.rb +1 -0
- data/lib/ddtrace/contrib/action_view/events.rb +1 -0
- data/lib/ddtrace/contrib/action_view/events/render_partial.rb +1 -0
- data/lib/ddtrace/contrib/action_view/events/render_template.rb +1 -0
- data/lib/ddtrace/contrib/action_view/ext.rb +1 -0
- data/lib/ddtrace/contrib/action_view/instrumentation/partial_renderer.rb +1 -0
- data/lib/ddtrace/contrib/action_view/instrumentation/template_renderer.rb +1 -0
- data/lib/ddtrace/contrib/action_view/integration.rb +1 -0
- data/lib/ddtrace/contrib/action_view/patcher.rb +1 -0
- data/lib/ddtrace/contrib/action_view/utils.rb +1 -0
- data/lib/ddtrace/contrib/active_model_serializers/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/active_model_serializers/event.rb +1 -0
- data/lib/ddtrace/contrib/active_model_serializers/events.rb +1 -0
- data/lib/ddtrace/contrib/active_model_serializers/events/render.rb +1 -0
- data/lib/ddtrace/contrib/active_model_serializers/events/serialize.rb +1 -0
- data/lib/ddtrace/contrib/active_model_serializers/ext.rb +1 -0
- data/lib/ddtrace/contrib/active_model_serializers/integration.rb +1 -0
- data/lib/ddtrace/contrib/active_model_serializers/patcher.rb +1 -0
- data/lib/ddtrace/contrib/active_record/configuration/makara_resolver.rb +1 -0
- data/lib/ddtrace/contrib/active_record/configuration/resolver.rb +3 -2
- data/lib/ddtrace/contrib/active_record/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/active_record/event.rb +1 -0
- data/lib/ddtrace/contrib/active_record/events.rb +1 -0
- data/lib/ddtrace/contrib/active_record/events/instantiation.rb +1 -0
- data/lib/ddtrace/contrib/active_record/events/sql.rb +1 -0
- data/lib/ddtrace/contrib/active_record/ext.rb +1 -0
- data/lib/ddtrace/contrib/active_record/integration.rb +1 -0
- data/lib/ddtrace/contrib/active_record/patcher.rb +1 -0
- data/lib/ddtrace/contrib/active_record/utils.rb +4 -3
- data/lib/ddtrace/contrib/active_support/cache/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/active_support/cache/patcher.rb +1 -0
- data/lib/ddtrace/contrib/active_support/cache/redis.rb +1 -0
- data/lib/ddtrace/contrib/active_support/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/active_support/ext.rb +1 -0
- data/lib/ddtrace/contrib/active_support/integration.rb +1 -0
- data/lib/ddtrace/contrib/active_support/notifications/event.rb +1 -0
- data/lib/ddtrace/contrib/active_support/notifications/subscriber.rb +1 -0
- data/lib/ddtrace/contrib/active_support/notifications/subscription.rb +1 -0
- data/lib/ddtrace/contrib/active_support/patcher.rb +1 -0
- data/lib/ddtrace/contrib/analytics.rb +1 -0
- data/lib/ddtrace/contrib/auto_instrument.rb +2 -1
- data/lib/ddtrace/contrib/aws/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/aws/ext.rb +1 -0
- data/lib/ddtrace/contrib/aws/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/aws/integration.rb +1 -0
- data/lib/ddtrace/contrib/aws/parsed_context.rb +1 -0
- data/lib/ddtrace/contrib/aws/patcher.rb +2 -1
- data/lib/ddtrace/contrib/aws/services.rb +1 -0
- data/lib/ddtrace/contrib/concurrent_ruby/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/concurrent_ruby/context_composite_executor_service.rb +1 -0
- data/lib/ddtrace/contrib/concurrent_ruby/ext.rb +1 -0
- data/lib/ddtrace/contrib/concurrent_ruby/future_patch.rb +1 -0
- data/lib/ddtrace/contrib/concurrent_ruby/integration.rb +1 -0
- data/lib/ddtrace/contrib/concurrent_ruby/patcher.rb +2 -0
- data/lib/ddtrace/contrib/configurable.rb +1 -0
- data/lib/ddtrace/contrib/configuration/resolver.rb +1 -0
- data/lib/ddtrace/contrib/configuration/resolvers/pattern_resolver.rb +1 -0
- data/lib/ddtrace/contrib/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/dalli/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/dalli/ext.rb +1 -0
- data/lib/ddtrace/contrib/dalli/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/dalli/integration.rb +1 -0
- data/lib/ddtrace/contrib/dalli/patcher.rb +1 -0
- data/lib/ddtrace/contrib/dalli/quantize.rb +1 -0
- data/lib/ddtrace/contrib/delayed_job/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/delayed_job/ext.rb +1 -0
- data/lib/ddtrace/contrib/delayed_job/integration.rb +1 -0
- data/lib/ddtrace/contrib/delayed_job/patcher.rb +1 -0
- data/lib/ddtrace/contrib/delayed_job/plugin.rb +1 -0
- data/lib/ddtrace/contrib/elasticsearch/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/elasticsearch/ext.rb +1 -0
- data/lib/ddtrace/contrib/elasticsearch/integration.rb +1 -0
- data/lib/ddtrace/contrib/elasticsearch/patcher.rb +1 -0
- data/lib/ddtrace/contrib/elasticsearch/quantize.rb +3 -0
- data/lib/ddtrace/contrib/ethon/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/ethon/easy_patch.rb +1 -0
- data/lib/ddtrace/contrib/ethon/ext.rb +1 -0
- data/lib/ddtrace/contrib/ethon/integration.rb +1 -0
- data/lib/ddtrace/contrib/ethon/multi_patch.rb +1 -0
- data/lib/ddtrace/contrib/ethon/patcher.rb +2 -0
- data/lib/ddtrace/contrib/excon/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/excon/ext.rb +1 -0
- data/lib/ddtrace/contrib/excon/integration.rb +1 -0
- data/lib/ddtrace/contrib/excon/middleware.rb +1 -0
- data/lib/ddtrace/contrib/excon/patcher.rb +1 -0
- data/lib/ddtrace/contrib/extensions.rb +37 -11
- data/lib/ddtrace/contrib/faraday/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/faraday/connection.rb +1 -0
- data/lib/ddtrace/contrib/faraday/ext.rb +1 -0
- data/lib/ddtrace/contrib/faraday/integration.rb +1 -0
- data/lib/ddtrace/contrib/faraday/middleware.rb +1 -0
- data/lib/ddtrace/contrib/faraday/patcher.rb +1 -0
- data/lib/ddtrace/contrib/faraday/rack_builder.rb +1 -0
- data/lib/ddtrace/contrib/grape/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/grape/endpoint.rb +26 -16
- data/lib/ddtrace/contrib/grape/ext.rb +1 -0
- data/lib/ddtrace/contrib/grape/instrumentation.rb +2 -1
- data/lib/ddtrace/contrib/grape/integration.rb +1 -0
- data/lib/ddtrace/contrib/grape/patcher.rb +1 -0
- data/lib/ddtrace/contrib/graphql/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/graphql/ext.rb +1 -0
- data/lib/ddtrace/contrib/graphql/integration.rb +1 -0
- data/lib/ddtrace/contrib/graphql/patcher.rb +1 -0
- data/lib/ddtrace/contrib/grpc/configuration/settings.rb +2 -0
- data/lib/ddtrace/contrib/grpc/datadog_interceptor.rb +5 -0
- data/lib/ddtrace/contrib/grpc/datadog_interceptor/client.rb +1 -0
- data/lib/ddtrace/contrib/grpc/datadog_interceptor/server.rb +3 -4
- data/lib/ddtrace/contrib/grpc/ext.rb +1 -0
- data/lib/ddtrace/contrib/grpc/integration.rb +1 -0
- data/lib/ddtrace/contrib/grpc/intercept_with_datadog.rb +1 -0
- data/lib/ddtrace/contrib/grpc/patcher.rb +2 -0
- data/lib/ddtrace/contrib/http/circuit_breaker.rb +1 -0
- data/lib/ddtrace/contrib/http/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/http/ext.rb +1 -0
- data/lib/ddtrace/contrib/http/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/http/integration.rb +1 -0
- data/lib/ddtrace/contrib/http/patcher.rb +1 -0
- data/lib/ddtrace/contrib/http_annotation_helper.rb +1 -0
- data/lib/ddtrace/contrib/httpclient/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/httpclient/ext.rb +1 -0
- data/lib/ddtrace/contrib/httpclient/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/httpclient/integration.rb +1 -0
- data/lib/ddtrace/contrib/httpclient/patcher.rb +2 -1
- data/lib/ddtrace/contrib/httprb/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/httprb/ext.rb +1 -0
- data/lib/ddtrace/contrib/httprb/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/httprb/integration.rb +1 -0
- data/lib/ddtrace/contrib/httprb/patcher.rb +2 -1
- data/lib/ddtrace/contrib/integration.rb +1 -0
- data/lib/ddtrace/contrib/kafka/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/kafka/consumer_event.rb +1 -0
- data/lib/ddtrace/contrib/kafka/consumer_group_event.rb +1 -0
- data/lib/ddtrace/contrib/kafka/event.rb +1 -0
- data/lib/ddtrace/contrib/kafka/events.rb +1 -0
- data/lib/ddtrace/contrib/kafka/events/connection/request.rb +1 -0
- data/lib/ddtrace/contrib/kafka/events/consumer/process_batch.rb +1 -0
- data/lib/ddtrace/contrib/kafka/events/consumer/process_message.rb +1 -0
- data/lib/ddtrace/contrib/kafka/events/consumer_group/heartbeat.rb +1 -0
- data/lib/ddtrace/contrib/kafka/events/consumer_group/join_group.rb +1 -0
- data/lib/ddtrace/contrib/kafka/events/consumer_group/leave_group.rb +1 -0
- data/lib/ddtrace/contrib/kafka/events/consumer_group/sync_group.rb +1 -0
- data/lib/ddtrace/contrib/kafka/events/produce_operation/send_messages.rb +1 -0
- data/lib/ddtrace/contrib/kafka/events/producer/deliver_messages.rb +1 -0
- data/lib/ddtrace/contrib/kafka/ext.rb +1 -0
- data/lib/ddtrace/contrib/kafka/integration.rb +1 -0
- data/lib/ddtrace/contrib/kafka/patcher.rb +1 -0
- data/lib/ddtrace/contrib/lograge/configuration/settings.rb +19 -0
- data/lib/ddtrace/contrib/lograge/ext.rb +11 -0
- data/lib/ddtrace/contrib/lograge/instrumentation.rb +39 -0
- data/lib/ddtrace/contrib/lograge/integration.rb +46 -0
- data/lib/ddtrace/contrib/lograge/patcher.rb +26 -0
- data/lib/ddtrace/contrib/mongodb/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/mongodb/ext.rb +1 -0
- data/lib/ddtrace/contrib/mongodb/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/mongodb/integration.rb +1 -0
- data/lib/ddtrace/contrib/mongodb/parsers.rb +1 -0
- data/lib/ddtrace/contrib/mongodb/patcher.rb +1 -0
- data/lib/ddtrace/contrib/mongodb/subscribers.rb +1 -0
- data/lib/ddtrace/contrib/mysql2/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/mysql2/ext.rb +1 -0
- data/lib/ddtrace/contrib/mysql2/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/mysql2/integration.rb +1 -0
- data/lib/ddtrace/contrib/mysql2/patcher.rb +1 -0
- data/lib/ddtrace/contrib/patchable.rb +1 -0
- data/lib/ddtrace/contrib/patcher.rb +2 -1
- data/lib/ddtrace/contrib/presto/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/presto/ext.rb +1 -0
- data/lib/ddtrace/contrib/presto/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/presto/integration.rb +1 -0
- data/lib/ddtrace/contrib/presto/patcher.rb +1 -0
- data/lib/ddtrace/contrib/qless/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/qless/ext.rb +1 -0
- data/lib/ddtrace/contrib/qless/integration.rb +1 -0
- data/lib/ddtrace/contrib/qless/patcher.rb +2 -0
- data/lib/ddtrace/contrib/qless/qless_job.rb +1 -0
- data/lib/ddtrace/contrib/qless/tracer_cleaner.rb +1 -0
- data/lib/ddtrace/contrib/que/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/que/ext.rb +1 -0
- data/lib/ddtrace/contrib/que/integration.rb +1 -0
- data/lib/ddtrace/contrib/que/patcher.rb +1 -0
- data/lib/ddtrace/contrib/que/tracer.rb +1 -0
- data/lib/ddtrace/contrib/racecar/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/racecar/event.rb +1 -0
- data/lib/ddtrace/contrib/racecar/events.rb +1 -0
- data/lib/ddtrace/contrib/racecar/events/batch.rb +1 -0
- data/lib/ddtrace/contrib/racecar/events/consume.rb +1 -0
- data/lib/ddtrace/contrib/racecar/events/message.rb +1 -0
- data/lib/ddtrace/contrib/racecar/ext.rb +1 -0
- data/lib/ddtrace/contrib/racecar/integration.rb +1 -0
- data/lib/ddtrace/contrib/racecar/patcher.rb +1 -0
- data/lib/ddtrace/contrib/rack/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/rack/ext.rb +1 -0
- data/lib/ddtrace/contrib/rack/integration.rb +1 -0
- data/lib/ddtrace/contrib/rack/middlewares.rb +2 -1
- data/lib/ddtrace/contrib/rack/patcher.rb +1 -0
- data/lib/ddtrace/contrib/rack/request_queue.rb +1 -0
- data/lib/ddtrace/contrib/rails/auto_instrument_railtie.rb +1 -0
- data/lib/ddtrace/contrib/rails/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/rails/ext.rb +1 -0
- data/lib/ddtrace/contrib/rails/framework.rb +26 -1
- data/lib/ddtrace/contrib/rails/integration.rb +1 -0
- data/lib/ddtrace/contrib/rails/log_injection.rb +1 -40
- data/lib/ddtrace/contrib/rails/middlewares.rb +1 -0
- data/lib/ddtrace/contrib/rails/patcher.rb +12 -9
- data/lib/ddtrace/contrib/rails/railtie.rb +1 -0
- data/lib/ddtrace/contrib/rails/utils.rb +1 -0
- data/lib/ddtrace/contrib/rake/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/rake/ext.rb +1 -0
- data/lib/ddtrace/contrib/rake/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/rake/integration.rb +1 -0
- data/lib/ddtrace/contrib/rake/patcher.rb +1 -0
- data/lib/ddtrace/contrib/redis/configuration/resolver.rb +1 -0
- data/lib/ddtrace/contrib/redis/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/redis/ext.rb +1 -0
- data/lib/ddtrace/contrib/redis/integration.rb +1 -0
- data/lib/ddtrace/contrib/redis/patcher.rb +1 -0
- data/lib/ddtrace/contrib/redis/quantize.rb +1 -0
- data/lib/ddtrace/contrib/redis/tags.rb +1 -0
- data/lib/ddtrace/contrib/redis/vendor/resolver.rb +1 -0
- data/lib/ddtrace/contrib/registerable.rb +3 -2
- data/lib/ddtrace/contrib/registry.rb +1 -0
- data/lib/ddtrace/contrib/resque/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/resque/ext.rb +1 -0
- data/lib/ddtrace/contrib/resque/integration.rb +1 -0
- data/lib/ddtrace/contrib/resque/patcher.rb +1 -0
- data/lib/ddtrace/contrib/resque/resque_job.rb +1 -0
- data/lib/ddtrace/contrib/rest_client/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/rest_client/ext.rb +1 -0
- data/lib/ddtrace/contrib/rest_client/integration.rb +1 -0
- data/lib/ddtrace/contrib/rest_client/patcher.rb +2 -0
- data/lib/ddtrace/contrib/rest_client/request_patch.rb +1 -0
- data/lib/ddtrace/contrib/semantic_logger/configuration/settings.rb +19 -0
- data/lib/ddtrace/contrib/semantic_logger/ext.rb +11 -0
- data/lib/ddtrace/contrib/semantic_logger/instrumentation.rb +43 -0
- data/lib/ddtrace/contrib/semantic_logger/integration.rb +48 -0
- data/lib/ddtrace/contrib/semantic_logger/patcher.rb +26 -0
- data/lib/ddtrace/contrib/sequel/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/sequel/database.rb +1 -0
- data/lib/ddtrace/contrib/sequel/dataset.rb +1 -0
- data/lib/ddtrace/contrib/sequel/ext.rb +1 -0
- data/lib/ddtrace/contrib/sequel/integration.rb +1 -0
- data/lib/ddtrace/contrib/sequel/patcher.rb +1 -0
- data/lib/ddtrace/contrib/sequel/utils.rb +1 -0
- data/lib/ddtrace/contrib/shoryuken/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/shoryuken/ext.rb +1 -0
- data/lib/ddtrace/contrib/shoryuken/integration.rb +1 -0
- data/lib/ddtrace/contrib/shoryuken/patcher.rb +1 -0
- data/lib/ddtrace/contrib/shoryuken/tracer.rb +1 -0
- data/lib/ddtrace/contrib/sidekiq/client_tracer.rb +1 -0
- data/lib/ddtrace/contrib/sidekiq/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/sidekiq/ext.rb +1 -0
- data/lib/ddtrace/contrib/sidekiq/integration.rb +1 -0
- data/lib/ddtrace/contrib/sidekiq/patcher.rb +1 -0
- data/lib/ddtrace/contrib/sidekiq/server_tracer.rb +1 -0
- data/lib/ddtrace/contrib/sidekiq/tracing.rb +1 -0
- data/lib/ddtrace/contrib/sinatra/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/sinatra/env.rb +1 -0
- data/lib/ddtrace/contrib/sinatra/ext.rb +1 -0
- data/lib/ddtrace/contrib/sinatra/headers.rb +1 -0
- data/lib/ddtrace/contrib/sinatra/integration.rb +1 -0
- data/lib/ddtrace/contrib/sinatra/patcher.rb +2 -0
- data/lib/ddtrace/contrib/sinatra/tracer.rb +13 -3
- data/lib/ddtrace/contrib/sinatra/tracer_middleware.rb +8 -1
- data/lib/ddtrace/contrib/sneakers/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/sneakers/ext.rb +1 -0
- data/lib/ddtrace/contrib/sneakers/integration.rb +1 -0
- data/lib/ddtrace/contrib/sneakers/patcher.rb +1 -0
- data/lib/ddtrace/contrib/sneakers/tracer.rb +1 -0
- data/lib/ddtrace/contrib/status_code_matcher.rb +1 -0
- data/lib/ddtrace/contrib/sucker_punch/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/sucker_punch/exception_handler.rb +1 -0
- data/lib/ddtrace/contrib/sucker_punch/ext.rb +1 -0
- data/lib/ddtrace/contrib/sucker_punch/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/sucker_punch/integration.rb +1 -0
- data/lib/ddtrace/contrib/sucker_punch/patcher.rb +2 -0
- data/lib/ddtrace/correlation.rb +2 -1
- data/lib/ddtrace/diagnostics/environment_logger.rb +4 -3
- data/lib/ddtrace/diagnostics/health.rb +1 -0
- data/lib/ddtrace/distributed_tracing/headers/b3.rb +1 -0
- data/lib/ddtrace/distributed_tracing/headers/b3_single.rb +1 -0
- data/lib/ddtrace/distributed_tracing/headers/datadog.rb +1 -0
- data/lib/ddtrace/distributed_tracing/headers/headers.rb +1 -0
- data/lib/ddtrace/distributed_tracing/headers/helpers.rb +1 -0
- data/lib/ddtrace/encoding.rb +3 -0
- data/lib/ddtrace/error.rb +1 -0
- data/lib/ddtrace/event.rb +1 -0
- data/lib/ddtrace/ext/analytics.rb +1 -0
- data/lib/ddtrace/ext/app_types.rb +1 -0
- data/lib/ddtrace/ext/correlation.rb +1 -0
- data/lib/ddtrace/ext/diagnostics.rb +1 -0
- data/lib/ddtrace/ext/distributed.rb +1 -0
- data/lib/ddtrace/ext/environment.rb +8 -0
- data/lib/ddtrace/ext/errors.rb +1 -0
- data/lib/ddtrace/ext/forced_tracing.rb +1 -0
- data/lib/ddtrace/ext/git.rb +10 -1
- data/lib/ddtrace/ext/http.rb +1 -0
- data/lib/ddtrace/ext/integration.rb +1 -0
- data/lib/ddtrace/ext/manual_tracing.rb +1 -0
- data/lib/ddtrace/ext/metrics.rb +1 -0
- data/lib/ddtrace/ext/net.rb +1 -0
- data/lib/ddtrace/ext/priority.rb +1 -0
- data/lib/ddtrace/ext/profiling.rb +3 -0
- data/lib/ddtrace/ext/runtime.rb +1 -9
- data/lib/ddtrace/ext/sampling.rb +1 -0
- data/lib/ddtrace/ext/sql.rb +1 -0
- data/lib/ddtrace/ext/test.rb +1 -0
- data/lib/ddtrace/ext/transport.rb +1 -0
- data/lib/ddtrace/forced_tracing.rb +1 -0
- data/lib/ddtrace/logger.rb +1 -0
- data/lib/ddtrace/metrics.rb +60 -33
- data/lib/ddtrace/opentelemetry/extensions.rb +1 -0
- data/lib/ddtrace/opentelemetry/span.rb +1 -0
- data/lib/ddtrace/opentracer.rb +1 -0
- data/lib/ddtrace/opentracer/binary_propagator.rb +1 -0
- data/lib/ddtrace/opentracer/carrier.rb +1 -0
- data/lib/ddtrace/opentracer/distributed_headers.rb +1 -0
- data/lib/ddtrace/opentracer/global_tracer.rb +1 -0
- data/lib/ddtrace/opentracer/propagator.rb +1 -0
- data/lib/ddtrace/opentracer/rack_propagator.rb +1 -0
- data/lib/ddtrace/opentracer/scope.rb +1 -0
- data/lib/ddtrace/opentracer/scope_manager.rb +1 -0
- data/lib/ddtrace/opentracer/span.rb +1 -0
- data/lib/ddtrace/opentracer/span_context.rb +1 -0
- data/lib/ddtrace/opentracer/span_context_factory.rb +1 -0
- data/lib/ddtrace/opentracer/text_map_propagator.rb +1 -0
- data/lib/ddtrace/opentracer/thread_local_scope.rb +1 -0
- data/lib/ddtrace/opentracer/thread_local_scope_manager.rb +1 -0
- data/lib/ddtrace/opentracer/tracer.rb +1 -0
- data/lib/ddtrace/patcher.rb +1 -0
- data/lib/ddtrace/pin.rb +1 -0
- data/lib/ddtrace/pipeline.rb +1 -0
- data/lib/ddtrace/pipeline/span_filter.rb +1 -0
- data/lib/ddtrace/pipeline/span_processor.rb +1 -0
- data/lib/ddtrace/profiling.rb +64 -20
- data/lib/ddtrace/profiling/backtrace_location.rb +1 -0
- data/lib/ddtrace/profiling/buffer.rb +1 -0
- data/lib/ddtrace/profiling/collectors/stack.rb +11 -16
- data/lib/ddtrace/profiling/encoding/profile.rb +1 -0
- data/lib/ddtrace/profiling/event.rb +1 -0
- data/lib/ddtrace/profiling/events/stack.rb +16 -37
- data/lib/ddtrace/profiling/exporter.rb +1 -0
- data/lib/ddtrace/profiling/ext/cpu.rb +16 -1
- data/lib/ddtrace/profiling/ext/cthread.rb +1 -0
- data/lib/ddtrace/profiling/ext/forking.rb +1 -0
- data/lib/ddtrace/profiling/flush.rb +10 -9
- data/lib/ddtrace/profiling/native_extension.rb +18 -0
- data/lib/ddtrace/profiling/pprof/builder.rb +1 -0
- data/lib/ddtrace/profiling/pprof/converter.rb +1 -0
- data/lib/ddtrace/profiling/pprof/message_set.rb +4 -1
- data/lib/ddtrace/profiling/pprof/payload.rb +2 -1
- data/lib/ddtrace/profiling/pprof/pprof_pb.rb +1 -0
- data/lib/ddtrace/profiling/pprof/stack_sample.rb +16 -5
- data/lib/ddtrace/profiling/pprof/string_table.rb +1 -0
- data/lib/ddtrace/profiling/pprof/template.rb +1 -0
- data/lib/ddtrace/profiling/preload.rb +1 -0
- data/lib/ddtrace/profiling/profiler.rb +1 -0
- data/lib/ddtrace/profiling/recorder.rb +3 -2
- data/lib/ddtrace/profiling/scheduler.rb +21 -3
- data/lib/ddtrace/profiling/tasks/setup.rb +9 -4
- data/lib/ddtrace/profiling/trace_identifiers/ddtrace.rb +41 -0
- data/lib/ddtrace/profiling/trace_identifiers/helper.rb +46 -0
- data/lib/ddtrace/profiling/transport/client.rb +3 -0
- data/lib/ddtrace/profiling/transport/http.rb +29 -27
- data/lib/ddtrace/profiling/transport/http/api.rb +1 -0
- data/lib/ddtrace/profiling/transport/http/api/endpoint.rb +1 -0
- data/lib/ddtrace/profiling/transport/http/api/instance.rb +1 -0
- data/lib/ddtrace/profiling/transport/http/api/spec.rb +1 -0
- data/lib/ddtrace/profiling/transport/http/builder.rb +1 -0
- data/lib/ddtrace/profiling/transport/http/client.rb +1 -0
- data/lib/ddtrace/profiling/transport/http/response.rb +1 -0
- data/lib/ddtrace/profiling/transport/io.rb +1 -0
- data/lib/ddtrace/profiling/transport/io/client.rb +1 -0
- data/lib/ddtrace/profiling/transport/io/response.rb +1 -0
- data/lib/ddtrace/profiling/transport/parcel.rb +1 -0
- data/lib/ddtrace/profiling/transport/request.rb +1 -0
- data/lib/ddtrace/profiling/transport/response.rb +1 -0
- data/lib/ddtrace/propagation/grpc_propagator.rb +1 -0
- data/lib/ddtrace/propagation/http_propagator.rb +3 -2
- data/lib/ddtrace/quantization/hash.rb +1 -0
- data/lib/ddtrace/quantization/http.rb +3 -0
- data/lib/ddtrace/runtime/metrics.rb +19 -10
- data/lib/ddtrace/sampler.rb +1 -0
- data/lib/ddtrace/sampling.rb +1 -0
- data/lib/ddtrace/sampling/matcher.rb +1 -0
- data/lib/ddtrace/sampling/rate_limiter.rb +1 -0
- data/lib/ddtrace/sampling/rule.rb +2 -1
- data/lib/ddtrace/sampling/rule_sampler.rb +2 -1
- data/lib/ddtrace/span.rb +37 -12
- data/lib/ddtrace/sync_writer.rb +3 -2
- data/lib/ddtrace/tasks/exec.rb +4 -5
- data/lib/ddtrace/tasks/help.rb +1 -0
- data/lib/ddtrace/tracer.rb +6 -14
- data/lib/ddtrace/transport/http.rb +10 -7
- data/lib/ddtrace/transport/http/adapters/net.rb +1 -0
- data/lib/ddtrace/transport/http/adapters/registry.rb +1 -0
- data/lib/ddtrace/transport/http/adapters/test.rb +1 -0
- data/lib/ddtrace/transport/http/adapters/unix_socket.rb +1 -0
- data/lib/ddtrace/transport/http/api.rb +1 -0
- data/lib/ddtrace/transport/http/api/endpoint.rb +1 -0
- data/lib/ddtrace/transport/http/api/fallbacks.rb +1 -0
- data/lib/ddtrace/transport/http/api/instance.rb +1 -0
- data/lib/ddtrace/transport/http/api/map.rb +1 -0
- data/lib/ddtrace/transport/http/api/spec.rb +1 -0
- data/lib/ddtrace/transport/http/builder.rb +1 -0
- data/lib/ddtrace/transport/http/client.rb +3 -1
- data/lib/ddtrace/transport/http/env.rb +1 -0
- data/lib/ddtrace/transport/http/response.rb +1 -0
- data/lib/ddtrace/transport/http/statistics.rb +1 -0
- data/lib/ddtrace/transport/http/traces.rb +1 -0
- data/lib/ddtrace/transport/io.rb +1 -0
- data/lib/ddtrace/transport/io/client.rb +2 -1
- data/lib/ddtrace/transport/io/response.rb +1 -0
- data/lib/ddtrace/transport/io/traces.rb +3 -0
- data/lib/ddtrace/transport/parcel.rb +3 -0
- data/lib/ddtrace/transport/request.rb +1 -0
- data/lib/ddtrace/transport/response.rb +1 -0
- data/lib/ddtrace/transport/statistics.rb +1 -0
- data/lib/ddtrace/transport/traces.rb +3 -2
- data/lib/ddtrace/utils.rb +14 -2
- data/lib/ddtrace/utils/compression.rb +1 -0
- data/lib/ddtrace/utils/database.rb +1 -0
- data/lib/ddtrace/utils/forking.rb +1 -0
- data/lib/ddtrace/utils/object_set.rb +1 -0
- data/lib/ddtrace/utils/only_once.rb +1 -0
- data/lib/ddtrace/utils/sequence.rb +1 -0
- data/lib/ddtrace/utils/string_table.rb +1 -0
- data/lib/ddtrace/utils/time.rb +3 -0
- data/lib/ddtrace/vendor/active_record/connection_specification.rb +1 -0
- data/lib/ddtrace/vendor/multipart-post/multipart.rb +1 -0
- data/lib/ddtrace/vendor/multipart-post/multipart/post.rb +1 -0
- data/lib/ddtrace/vendor/multipart-post/multipart/post/composite_read_io.rb +1 -0
- data/lib/ddtrace/vendor/multipart-post/multipart/post/multipartable.rb +1 -0
- data/lib/ddtrace/vendor/multipart-post/multipart/post/parts.rb +1 -0
- data/lib/ddtrace/vendor/multipart-post/multipart/post/version.rb +1 -0
- data/lib/ddtrace/vendor/multipart-post/net/http/post/multipart.rb +1 -0
- data/lib/ddtrace/version.rb +2 -1
- data/lib/ddtrace/worker.rb +1 -0
- data/lib/ddtrace/workers.rb +2 -1
- data/lib/ddtrace/workers/async.rb +2 -1
- data/lib/ddtrace/workers/loop.rb +1 -0
- data/lib/ddtrace/workers/polling.rb +1 -0
- data/lib/ddtrace/workers/queue.rb +1 -0
- data/lib/ddtrace/workers/runtime_metrics.rb +1 -0
- data/lib/ddtrace/workers/trace_writer.rb +3 -2
- data/lib/ddtrace/writer.rb +3 -2
- metadata +34 -562
- data/.circleci/config.yml +0 -870
- data/.circleci/images/primary/Dockerfile-2.1.10 +0 -83
- data/.circleci/images/primary/Dockerfile-2.2.10 +0 -83
- data/.circleci/images/primary/Dockerfile-2.3.8 +0 -85
- data/.circleci/images/primary/Dockerfile-2.4.6 +0 -83
- data/.circleci/images/primary/Dockerfile-2.5.6 +0 -83
- data/.circleci/images/primary/Dockerfile-2.6.4 +0 -83
- data/.circleci/images/primary/Dockerfile-2.7.0 +0 -83
- data/.circleci/images/primary/Dockerfile-3.0.0 +0 -73
- data/.circleci/images/primary/Dockerfile-jruby-9.2-latest +0 -88
- data/.circleci/images/primary/Dockerfile-jruby-9.2.0.0 +0 -73
- data/.circleci/images/primary/Dockerfile-truffleruby-21.1.0 +0 -73
- data/.dockerignore +0 -0
- data/.env +0 -26
- data/.github/CODEOWNERS +0 -1
- data/.github/workflows/add-milestone-to-pull-requests.yml +0 -42
- data/.github/workflows/create-next-milestone.yml +0 -20
- data/.gitlab-ci.yml +0 -27
- data/.rspec +0 -1
- data/.rubocop.yml +0 -351
- data/.rubocop_todo.yml +0 -438
- data/.simplecov +0 -47
- data/Appraisals +0 -1323
- data/Gemfile +0 -69
- data/Rakefile +0 -939
- data/benchmarks/data/profiler-submission-marshal.gz +0 -0
- data/benchmarks/postgres_database.yml +0 -9
- data/benchmarks/profiler_sample_loop.rb +0 -69
- data/benchmarks/profiler_submission.rb +0 -93
- data/benchmarks/sidekiq_test.rb +0 -154
- data/docker-compose.yml +0 -414
- data/gemfiles/jruby_9.2.0.0_contrib.gemfile +0 -79
- data/gemfiles/jruby_9.2.0.0_contrib.gemfile.lock +0 -1518
- data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile +0 -35
- data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile.lock +0 -157
- data/gemfiles/jruby_9.2.0.0_core_old.gemfile +0 -34
- data/gemfiles/jruby_9.2.0.0_core_old.gemfile.lock +0 -153
- data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile +0 -35
- data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile.lock +0 -174
- data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile +0 -35
- data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile.lock +0 -206
- data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile +0 -35
- data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile.lock +0 -206
- data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile +0 -40
- data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile.lock +0 -271
- data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile +0 -40
- data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile.lock +0 -271
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile.lock +0 -273
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile.lock +0 -273
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile +0 -42
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile.lock +0 -279
- data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile +0 -40
- data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile.lock +0 -290
- data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile +0 -40
- data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile.lock +0 -290
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile.lock +0 -292
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile.lock +0 -297
- data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile +0 -40
- data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile.lock +0 -287
- data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile +0 -40
- data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile.lock +0 -287
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile.lock +0 -289
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile.lock +0 -289
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile +0 -42
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile.lock +0 -295
- data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile +0 -36
- data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile.lock +0 -180
- data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile +0 -36
- data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile.lock +0 -180
- data/gemfiles/jruby_9.2.11.1_contrib.gemfile +0 -79
- data/gemfiles/jruby_9.2.11.1_contrib.gemfile.lock +0 -1518
- data/gemfiles/jruby_9.2.11.1_contrib_old.gemfile +0 -35
- data/gemfiles/jruby_9.2.11.1_contrib_old.gemfile.lock +0 -157
- data/gemfiles/jruby_9.2.11.1_core_old.gemfile +0 -34
- data/gemfiles/jruby_9.2.11.1_core_old.gemfile.lock +0 -153
- data/gemfiles/jruby_9.2.11.1_cucumber3.gemfile +0 -35
- data/gemfiles/jruby_9.2.11.1_cucumber3.gemfile.lock +0 -174
- data/gemfiles/jruby_9.2.11.1_cucumber4.gemfile +0 -35
- data/gemfiles/jruby_9.2.11.1_cucumber4.gemfile.lock +0 -206
- data/gemfiles/jruby_9.2.11.1_cucumber5.gemfile +0 -35
- data/gemfiles/jruby_9.2.11.1_cucumber5.gemfile.lock +0 -206
- data/gemfiles/jruby_9.2.11.1_rails5_mysql2.gemfile +0 -40
- data/gemfiles/jruby_9.2.11.1_rails5_mysql2.gemfile.lock +0 -271
- data/gemfiles/jruby_9.2.11.1_rails5_postgres.gemfile +0 -40
- data/gemfiles/jruby_9.2.11.1_rails5_postgres.gemfile.lock +0 -271
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis.gemfile +0 -41
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis.gemfile.lock +0 -273
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis_activesupport.gemfile +0 -41
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis_activesupport.gemfile.lock +0 -273
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_sidekiq.gemfile +0 -42
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_sidekiq.gemfile.lock +0 -279
- data/gemfiles/jruby_9.2.11.1_rails61_mysql2.gemfile +0 -40
- data/gemfiles/jruby_9.2.11.1_rails61_mysql2.gemfile.lock +0 -290
- data/gemfiles/jruby_9.2.11.1_rails61_postgres.gemfile +0 -40
- data/gemfiles/jruby_9.2.11.1_rails61_postgres.gemfile.lock +0 -290
- data/gemfiles/jruby_9.2.11.1_rails61_postgres_redis.gemfile +0 -41
- data/gemfiles/jruby_9.2.11.1_rails61_postgres_redis.gemfile.lock +0 -292
- data/gemfiles/jruby_9.2.11.1_rails61_postgres_sidekiq.gemfile +0 -41
- data/gemfiles/jruby_9.2.11.1_rails61_postgres_sidekiq.gemfile.lock +0 -297
- data/gemfiles/jruby_9.2.11.1_rails6_mysql2.gemfile +0 -40
- data/gemfiles/jruby_9.2.11.1_rails6_mysql2.gemfile.lock +0 -287
- data/gemfiles/jruby_9.2.11.1_rails6_postgres.gemfile +0 -40
- data/gemfiles/jruby_9.2.11.1_rails6_postgres.gemfile.lock +0 -287
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis.gemfile +0 -41
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis.gemfile.lock +0 -289
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis_activesupport.gemfile +0 -41
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis_activesupport.gemfile.lock +0 -289
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_sidekiq.gemfile +0 -42
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_sidekiq.gemfile.lock +0 -295
- data/gemfiles/jruby_9.2.11.1_resque2_redis3.gemfile +0 -36
- data/gemfiles/jruby_9.2.11.1_resque2_redis3.gemfile.lock +0 -180
- data/gemfiles/jruby_9.2.11.1_resque2_redis4.gemfile +0 -36
- data/gemfiles/jruby_9.2.11.1_resque2_redis4.gemfile.lock +0 -180
- data/gemfiles/ruby_2.1.10_contrib_old.gemfile +0 -66
- data/gemfiles/ruby_2.1.10_contrib_old.gemfile.lock +0 -305
- data/gemfiles/ruby_2.1.10_core_old.gemfile +0 -33
- data/gemfiles/ruby_2.1.10_core_old.gemfile.lock +0 -118
- data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile.lock +0 -196
- data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile.lock +0 -205
- data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile +0 -42
- data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile.lock +0 -215
- data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile.lock +0 -204
- data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile +0 -41
- data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile.lock +0 -223
- data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile.lock +0 -213
- data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile +0 -38
- data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile.lock +0 -218
- data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile +0 -38
- data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile.lock +0 -218
- data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile +0 -40
- data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile.lock +0 -237
- data/gemfiles/ruby_2.2.10_contrib.gemfile +0 -73
- data/gemfiles/ruby_2.2.10_contrib.gemfile.lock +0 -1450
- data/gemfiles/ruby_2.2.10_core_old.gemfile +0 -33
- data/gemfiles/ruby_2.2.10_core_old.gemfile.lock +0 -118
- data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile.lock +0 -196
- data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile.lock +0 -205
- data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile +0 -41
- data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile.lock +0 -212
- data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile.lock +0 -204
- data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile +0 -41
- data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile.lock +0 -223
- data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile.lock +0 -213
- data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile +0 -38
- data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile.lock +0 -218
- data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile +0 -38
- data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile.lock +0 -218
- data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile +0 -40
- data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile.lock +0 -237
- data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile.lock +0 -229
- data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile +0 -38
- data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile.lock +0 -234
- data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile +0 -38
- data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile.lock +0 -234
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile.lock +0 -236
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile.lock +0 -236
- data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile.lock +0 -245
- data/gemfiles/ruby_2.3.8_contrib.gemfile +0 -73
- data/gemfiles/ruby_2.3.8_contrib.gemfile.lock +0 -1459
- data/gemfiles/ruby_2.3.8_contrib_old.gemfile +0 -34
- data/gemfiles/ruby_2.3.8_contrib_old.gemfile.lock +0 -127
- data/gemfiles/ruby_2.3.8_core_old.gemfile +0 -33
- data/gemfiles/ruby_2.3.8_core_old.gemfile.lock +0 -123
- data/gemfiles/ruby_2.3.8_cucumber3.gemfile +0 -34
- data/gemfiles/ruby_2.3.8_cucumber3.gemfile.lock +0 -144
- data/gemfiles/ruby_2.3.8_cucumber4.gemfile +0 -34
- data/gemfiles/ruby_2.3.8_cucumber4.gemfile.lock +0 -174
- data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile.lock +0 -201
- data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile.lock +0 -210
- data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile +0 -41
- data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile.lock +0 -217
- data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile.lock +0 -209
- data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile +0 -41
- data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile.lock +0 -228
- data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile.lock +0 -218
- data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile +0 -38
- data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile.lock +0 -223
- data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile +0 -38
- data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile.lock +0 -223
- data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile +0 -40
- data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile.lock +0 -242
- data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile.lock +0 -234
- data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile +0 -37
- data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile.lock +0 -234
- data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile +0 -37
- data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile.lock +0 -234
- data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile +0 -38
- data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile.lock +0 -236
- data/gemfiles/ruby_2.3.8_rails5_postgres_redis_activesupport.gemfile +0 -38
- data/gemfiles/ruby_2.3.8_rails5_postgres_redis_activesupport.gemfile.lock +0 -236
- data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile +0 -39
- data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile.lock +0 -245
- data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile +0 -35
- data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile.lock +0 -150
- data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile +0 -35
- data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile.lock +0 -150
- data/gemfiles/ruby_2.4.6_contrib.gemfile +0 -78
- data/gemfiles/ruby_2.4.6_contrib.gemfile.lock +0 -1513
- data/gemfiles/ruby_2.4.6_contrib_old.gemfile +0 -38
- data/gemfiles/ruby_2.4.6_contrib_old.gemfile.lock +0 -155
- data/gemfiles/ruby_2.4.6_core_old.gemfile +0 -37
- data/gemfiles/ruby_2.4.6_core_old.gemfile.lock +0 -151
- data/gemfiles/ruby_2.4.6_cucumber3.gemfile +0 -38
- data/gemfiles/ruby_2.4.6_cucumber3.gemfile.lock +0 -172
- data/gemfiles/ruby_2.4.6_cucumber4.gemfile +0 -38
- data/gemfiles/ruby_2.4.6_cucumber4.gemfile.lock +0 -202
- data/gemfiles/ruby_2.4.6_rails5_mysql2.gemfile +0 -41
- data/gemfiles/ruby_2.4.6_rails5_mysql2.gemfile.lock +0 -262
- data/gemfiles/ruby_2.4.6_rails5_postgres.gemfile +0 -41
- data/gemfiles/ruby_2.4.6_rails5_postgres.gemfile.lock +0 -262
- data/gemfiles/ruby_2.4.6_rails5_postgres_redis.gemfile +0 -42
- data/gemfiles/ruby_2.4.6_rails5_postgres_redis.gemfile.lock +0 -264
- data/gemfiles/ruby_2.4.6_rails5_postgres_redis_activesupport.gemfile +0 -42
- data/gemfiles/ruby_2.4.6_rails5_postgres_redis_activesupport.gemfile.lock +0 -264
- data/gemfiles/ruby_2.4.6_rails5_postgres_sidekiq.gemfile +0 -43
- data/gemfiles/ruby_2.4.6_rails5_postgres_sidekiq.gemfile.lock +0 -273
- data/gemfiles/ruby_2.4.6_resque2_redis3.gemfile +0 -39
- data/gemfiles/ruby_2.4.6_resque2_redis3.gemfile.lock +0 -178
- data/gemfiles/ruby_2.4.6_resque2_redis4.gemfile +0 -39
- data/gemfiles/ruby_2.4.6_resque2_redis4.gemfile.lock +0 -178
- data/gemfiles/ruby_2.5.6_contrib.gemfile +0 -83
- data/gemfiles/ruby_2.5.6_contrib.gemfile.lock +0 -1526
- data/gemfiles/ruby_2.5.6_contrib_old.gemfile +0 -39
- data/gemfiles/ruby_2.5.6_contrib_old.gemfile.lock +0 -165
- data/gemfiles/ruby_2.5.6_core_old.gemfile +0 -38
- data/gemfiles/ruby_2.5.6_core_old.gemfile.lock +0 -161
- data/gemfiles/ruby_2.5.6_cucumber3.gemfile +0 -39
- data/gemfiles/ruby_2.5.6_cucumber3.gemfile.lock +0 -182
- data/gemfiles/ruby_2.5.6_cucumber4.gemfile +0 -39
- data/gemfiles/ruby_2.5.6_cucumber4.gemfile.lock +0 -214
- data/gemfiles/ruby_2.5.6_cucumber5.gemfile +0 -39
- data/gemfiles/ruby_2.5.6_cucumber5.gemfile.lock +0 -214
- data/gemfiles/ruby_2.5.6_rails5_mysql2.gemfile +0 -44
- data/gemfiles/ruby_2.5.6_rails5_mysql2.gemfile.lock +0 -276
- data/gemfiles/ruby_2.5.6_rails5_postgres.gemfile +0 -44
- data/gemfiles/ruby_2.5.6_rails5_postgres.gemfile.lock +0 -276
- data/gemfiles/ruby_2.5.6_rails5_postgres_redis.gemfile +0 -45
- data/gemfiles/ruby_2.5.6_rails5_postgres_redis.gemfile.lock +0 -278
- data/gemfiles/ruby_2.5.6_rails5_postgres_redis_activesupport.gemfile +0 -45
- data/gemfiles/ruby_2.5.6_rails5_postgres_redis_activesupport.gemfile.lock +0 -278
- data/gemfiles/ruby_2.5.6_rails5_postgres_sidekiq.gemfile +0 -46
- data/gemfiles/ruby_2.5.6_rails5_postgres_sidekiq.gemfile.lock +0 -284
- data/gemfiles/ruby_2.5.6_rails61_mysql2.gemfile +0 -44
- data/gemfiles/ruby_2.5.6_rails61_mysql2.gemfile.lock +0 -295
- data/gemfiles/ruby_2.5.6_rails61_postgres.gemfile +0 -44
- data/gemfiles/ruby_2.5.6_rails61_postgres.gemfile.lock +0 -295
- data/gemfiles/ruby_2.5.6_rails61_postgres_redis.gemfile +0 -45
- data/gemfiles/ruby_2.5.6_rails61_postgres_redis.gemfile.lock +0 -297
- data/gemfiles/ruby_2.5.6_rails61_postgres_sidekiq.gemfile +0 -45
- data/gemfiles/ruby_2.5.6_rails61_postgres_sidekiq.gemfile.lock +0 -302
- data/gemfiles/ruby_2.5.6_rails6_mysql2.gemfile +0 -44
- data/gemfiles/ruby_2.5.6_rails6_mysql2.gemfile.lock +0 -292
- data/gemfiles/ruby_2.5.6_rails6_postgres.gemfile +0 -44
- data/gemfiles/ruby_2.5.6_rails6_postgres.gemfile.lock +0 -292
- data/gemfiles/ruby_2.5.6_rails6_postgres_redis.gemfile +0 -45
- data/gemfiles/ruby_2.5.6_rails6_postgres_redis.gemfile.lock +0 -294
- data/gemfiles/ruby_2.5.6_rails6_postgres_redis_activesupport.gemfile +0 -45
- data/gemfiles/ruby_2.5.6_rails6_postgres_redis_activesupport.gemfile.lock +0 -294
- data/gemfiles/ruby_2.5.6_rails6_postgres_sidekiq.gemfile +0 -46
- data/gemfiles/ruby_2.5.6_rails6_postgres_sidekiq.gemfile.lock +0 -300
- data/gemfiles/ruby_2.5.6_resque2_redis3.gemfile +0 -40
- data/gemfiles/ruby_2.5.6_resque2_redis3.gemfile.lock +0 -188
- data/gemfiles/ruby_2.5.6_resque2_redis4.gemfile +0 -40
- data/gemfiles/ruby_2.5.6_resque2_redis4.gemfile.lock +0 -188
- data/gemfiles/ruby_2.6.4_contrib.gemfile +0 -79
- data/gemfiles/ruby_2.6.4_contrib.gemfile.lock +0 -1524
- data/gemfiles/ruby_2.6.4_contrib_old.gemfile +0 -39
- data/gemfiles/ruby_2.6.4_contrib_old.gemfile.lock +0 -167
- data/gemfiles/ruby_2.6.4_core_old.gemfile +0 -38
- data/gemfiles/ruby_2.6.4_core_old.gemfile.lock +0 -163
- data/gemfiles/ruby_2.6.4_cucumber3.gemfile +0 -39
- data/gemfiles/ruby_2.6.4_cucumber3.gemfile.lock +0 -184
- data/gemfiles/ruby_2.6.4_cucumber4.gemfile +0 -39
- data/gemfiles/ruby_2.6.4_cucumber4.gemfile.lock +0 -216
- data/gemfiles/ruby_2.6.4_cucumber5.gemfile +0 -39
- data/gemfiles/ruby_2.6.4_cucumber5.gemfile.lock +0 -216
- data/gemfiles/ruby_2.6.4_rails5_mysql2.gemfile +0 -42
- data/gemfiles/ruby_2.6.4_rails5_mysql2.gemfile.lock +0 -276
- data/gemfiles/ruby_2.6.4_rails5_postgres.gemfile +0 -42
- data/gemfiles/ruby_2.6.4_rails5_postgres.gemfile.lock +0 -276
- data/gemfiles/ruby_2.6.4_rails5_postgres_redis.gemfile +0 -43
- data/gemfiles/ruby_2.6.4_rails5_postgres_redis.gemfile.lock +0 -278
- data/gemfiles/ruby_2.6.4_rails5_postgres_redis_activesupport.gemfile +0 -43
- data/gemfiles/ruby_2.6.4_rails5_postgres_redis_activesupport.gemfile.lock +0 -278
- data/gemfiles/ruby_2.6.4_rails5_postgres_sidekiq.gemfile +0 -44
- data/gemfiles/ruby_2.6.4_rails5_postgres_sidekiq.gemfile.lock +0 -284
- data/gemfiles/ruby_2.6.4_rails61_mysql2.gemfile +0 -42
- data/gemfiles/ruby_2.6.4_rails61_mysql2.gemfile.lock +0 -295
- data/gemfiles/ruby_2.6.4_rails61_postgres.gemfile +0 -42
- data/gemfiles/ruby_2.6.4_rails61_postgres.gemfile.lock +0 -295
- data/gemfiles/ruby_2.6.4_rails61_postgres_redis.gemfile +0 -43
- data/gemfiles/ruby_2.6.4_rails61_postgres_redis.gemfile.lock +0 -297
- data/gemfiles/ruby_2.6.4_rails61_postgres_sidekiq.gemfile +0 -43
- data/gemfiles/ruby_2.6.4_rails61_postgres_sidekiq.gemfile.lock +0 -302
- data/gemfiles/ruby_2.6.4_rails6_mysql2.gemfile +0 -42
- data/gemfiles/ruby_2.6.4_rails6_mysql2.gemfile.lock +0 -292
- data/gemfiles/ruby_2.6.4_rails6_postgres.gemfile +0 -42
- data/gemfiles/ruby_2.6.4_rails6_postgres.gemfile.lock +0 -292
- data/gemfiles/ruby_2.6.4_rails6_postgres_redis.gemfile +0 -43
- data/gemfiles/ruby_2.6.4_rails6_postgres_redis.gemfile.lock +0 -294
- data/gemfiles/ruby_2.6.4_rails6_postgres_redis_activesupport.gemfile +0 -43
- data/gemfiles/ruby_2.6.4_rails6_postgres_redis_activesupport.gemfile.lock +0 -294
- data/gemfiles/ruby_2.6.4_rails6_postgres_sidekiq.gemfile +0 -44
- data/gemfiles/ruby_2.6.4_rails6_postgres_sidekiq.gemfile.lock +0 -300
- data/gemfiles/ruby_2.6.4_resque2_redis3.gemfile +0 -40
- data/gemfiles/ruby_2.6.4_resque2_redis3.gemfile.lock +0 -190
- data/gemfiles/ruby_2.6.4_resque2_redis4.gemfile +0 -40
- data/gemfiles/ruby_2.6.4_resque2_redis4.gemfile.lock +0 -190
- data/gemfiles/ruby_2.7.0_contrib.gemfile +0 -78
- data/gemfiles/ruby_2.7.0_contrib.gemfile.lock +0 -1523
- data/gemfiles/ruby_2.7.0_contrib_old.gemfile +0 -39
- data/gemfiles/ruby_2.7.0_contrib_old.gemfile.lock +0 -167
- data/gemfiles/ruby_2.7.0_core_old.gemfile +0 -38
- data/gemfiles/ruby_2.7.0_core_old.gemfile.lock +0 -163
- data/gemfiles/ruby_2.7.0_cucumber3.gemfile +0 -39
- data/gemfiles/ruby_2.7.0_cucumber3.gemfile.lock +0 -184
- data/gemfiles/ruby_2.7.0_cucumber4.gemfile +0 -39
- data/gemfiles/ruby_2.7.0_cucumber4.gemfile.lock +0 -216
- data/gemfiles/ruby_2.7.0_cucumber5.gemfile +0 -39
- data/gemfiles/ruby_2.7.0_cucumber5.gemfile.lock +0 -216
- data/gemfiles/ruby_2.7.0_rails5_mysql2.gemfile +0 -42
- data/gemfiles/ruby_2.7.0_rails5_mysql2.gemfile.lock +0 -276
- data/gemfiles/ruby_2.7.0_rails5_postgres.gemfile +0 -42
- data/gemfiles/ruby_2.7.0_rails5_postgres.gemfile.lock +0 -276
- data/gemfiles/ruby_2.7.0_rails5_postgres_redis.gemfile +0 -44
- data/gemfiles/ruby_2.7.0_rails5_postgres_redis.gemfile.lock +0 -295
- data/gemfiles/ruby_2.7.0_rails5_postgres_redis_activesupport.gemfile +0 -44
- data/gemfiles/ruby_2.7.0_rails5_postgres_redis_activesupport.gemfile.lock +0 -295
- data/gemfiles/ruby_2.7.0_rails5_postgres_sidekiq.gemfile +0 -44
- data/gemfiles/ruby_2.7.0_rails5_postgres_sidekiq.gemfile.lock +0 -284
- data/gemfiles/ruby_2.7.0_rails61_mysql2.gemfile +0 -42
- data/gemfiles/ruby_2.7.0_rails61_mysql2.gemfile.lock +0 -295
- data/gemfiles/ruby_2.7.0_rails61_postgres.gemfile +0 -42
- data/gemfiles/ruby_2.7.0_rails61_postgres.gemfile.lock +0 -295
- data/gemfiles/ruby_2.7.0_rails61_postgres_redis.gemfile +0 -43
- data/gemfiles/ruby_2.7.0_rails61_postgres_redis.gemfile.lock +0 -297
- data/gemfiles/ruby_2.7.0_rails61_postgres_sidekiq.gemfile +0 -43
- data/gemfiles/ruby_2.7.0_rails61_postgres_sidekiq.gemfile.lock +0 -302
- data/gemfiles/ruby_2.7.0_rails6_mysql2.gemfile +0 -42
- data/gemfiles/ruby_2.7.0_rails6_mysql2.gemfile.lock +0 -292
- data/gemfiles/ruby_2.7.0_rails6_postgres.gemfile +0 -42
- data/gemfiles/ruby_2.7.0_rails6_postgres.gemfile.lock +0 -292
- data/gemfiles/ruby_2.7.0_rails6_postgres_redis.gemfile +0 -44
- data/gemfiles/ruby_2.7.0_rails6_postgres_redis.gemfile.lock +0 -311
- data/gemfiles/ruby_2.7.0_rails6_postgres_redis_activesupport.gemfile +0 -44
- data/gemfiles/ruby_2.7.0_rails6_postgres_redis_activesupport.gemfile.lock +0 -311
- data/gemfiles/ruby_2.7.0_rails6_postgres_sidekiq.gemfile +0 -44
- data/gemfiles/ruby_2.7.0_rails6_postgres_sidekiq.gemfile.lock +0 -300
- data/gemfiles/ruby_2.7.0_resque2_redis3.gemfile +0 -40
- data/gemfiles/ruby_2.7.0_resque2_redis3.gemfile.lock +0 -190
- data/gemfiles/ruby_2.7.0_resque2_redis4.gemfile +0 -40
- data/gemfiles/ruby_2.7.0_resque2_redis4.gemfile.lock +0 -190
- data/gemfiles/ruby_3.0.0_contrib.gemfile +0 -78
- data/gemfiles/ruby_3.0.0_contrib.gemfile.lock +0 -1540
- data/gemfiles/ruby_3.0.0_core_old.gemfile +0 -39
- data/gemfiles/ruby_3.0.0_core_old.gemfile.lock +0 -165
- data/gemfiles/ruby_3.0.0_cucumber3.gemfile +0 -40
- data/gemfiles/ruby_3.0.0_cucumber3.gemfile.lock +0 -186
- data/gemfiles/ruby_3.0.0_cucumber4.gemfile +0 -40
- data/gemfiles/ruby_3.0.0_cucumber4.gemfile.lock +0 -218
- data/gemfiles/ruby_3.0.0_cucumber5.gemfile +0 -40
- data/gemfiles/ruby_3.0.0_cucumber5.gemfile.lock +0 -218
- data/gemfiles/ruby_3.0.0_rails61_mysql2.gemfile +0 -43
- data/gemfiles/ruby_3.0.0_rails61_mysql2.gemfile.lock +0 -295
- data/gemfiles/ruby_3.0.0_rails61_postgres.gemfile +0 -43
- data/gemfiles/ruby_3.0.0_rails61_postgres.gemfile.lock +0 -295
- data/gemfiles/ruby_3.0.0_rails61_postgres_redis.gemfile +0 -44
- data/gemfiles/ruby_3.0.0_rails61_postgres_redis.gemfile.lock +0 -297
- data/gemfiles/ruby_3.0.0_rails61_postgres_sidekiq.gemfile +0 -44
- data/gemfiles/ruby_3.0.0_rails61_postgres_sidekiq.gemfile.lock +0 -302
- data/gemfiles/ruby_3.0.0_resque2_redis3.gemfile +0 -41
- data/gemfiles/ruby_3.0.0_resque2_redis3.gemfile.lock +0 -192
- data/gemfiles/ruby_3.0.0_resque2_redis4.gemfile +0 -41
- data/gemfiles/ruby_3.0.0_resque2_redis4.gemfile.lock +0 -192
- data/integration/README.md +0 -67
- data/integration/apps/rack/.dockerignore +0 -1
- data/integration/apps/rack/.envrc.sample +0 -1
- data/integration/apps/rack/.gitignore +0 -4
- data/integration/apps/rack/.rspec +0 -1
- data/integration/apps/rack/Dockerfile +0 -28
- data/integration/apps/rack/Dockerfile-ci +0 -11
- data/integration/apps/rack/Gemfile +0 -24
- data/integration/apps/rack/README.md +0 -93
- data/integration/apps/rack/app/acme.rb +0 -80
- data/integration/apps/rack/app/datadog.rb +0 -17
- data/integration/apps/rack/bin/run +0 -22
- data/integration/apps/rack/bin/setup +0 -17
- data/integration/apps/rack/bin/test +0 -24
- data/integration/apps/rack/config.ru +0 -6
- data/integration/apps/rack/config/puma.rb +0 -14
- data/integration/apps/rack/config/unicorn.rb +0 -23
- data/integration/apps/rack/docker-compose.ci.yml +0 -62
- data/integration/apps/rack/docker-compose.yml +0 -78
- data/integration/apps/rack/script/build-images +0 -38
- data/integration/apps/rack/script/ci +0 -51
- data/integration/apps/rack/spec/integration/basic_spec.rb +0 -10
- data/integration/apps/rack/spec/spec_helper.rb +0 -16
- data/integration/apps/rack/spec/support/integration_helper.rb +0 -22
- data/integration/apps/rails-five/.dockerignore +0 -1
- data/integration/apps/rails-five/.env +0 -3
- data/integration/apps/rails-five/.envrc.sample +0 -1
- data/integration/apps/rails-five/.gitignore +0 -30
- data/integration/apps/rails-five/Dockerfile +0 -25
- data/integration/apps/rails-five/Dockerfile-ci +0 -11
- data/integration/apps/rails-five/Gemfile +0 -104
- data/integration/apps/rails-five/README.md +0 -94
- data/integration/apps/rails-five/Rakefile +0 -6
- data/integration/apps/rails-five/app/channels/application_cable/channel.rb +0 -4
- data/integration/apps/rails-five/app/channels/application_cable/connection.rb +0 -4
- data/integration/apps/rails-five/app/controllers/application_controller.rb +0 -2
- data/integration/apps/rails-five/app/controllers/basic_controller.rb +0 -36
- data/integration/apps/rails-five/app/controllers/concerns/.keep +0 -0
- data/integration/apps/rails-five/app/controllers/health_controller.rb +0 -9
- data/integration/apps/rails-five/app/controllers/jobs_controller.rb +0 -12
- data/integration/apps/rails-five/app/jobs/application_job.rb +0 -2
- data/integration/apps/rails-five/app/jobs/test_job.rb +0 -12
- data/integration/apps/rails-five/app/mailers/application_mailer.rb +0 -4
- data/integration/apps/rails-five/app/models/application_record.rb +0 -3
- data/integration/apps/rails-five/app/models/concerns/.keep +0 -0
- data/integration/apps/rails-five/app/models/test.rb +0 -2
- data/integration/apps/rails-five/app/views/layouts/mailer.html.erb +0 -13
- data/integration/apps/rails-five/app/views/layouts/mailer.text.erb +0 -1
- data/integration/apps/rails-five/bin/bundle +0 -3
- data/integration/apps/rails-five/bin/rails +0 -9
- data/integration/apps/rails-five/bin/rake +0 -9
- data/integration/apps/rails-five/bin/run +0 -24
- data/integration/apps/rails-five/bin/setup +0 -27
- data/integration/apps/rails-five/bin/spring +0 -17
- data/integration/apps/rails-five/bin/test +0 -21
- data/integration/apps/rails-five/bin/update +0 -28
- data/integration/apps/rails-five/config.ru +0 -5
- data/integration/apps/rails-five/config/application.rb +0 -97
- data/integration/apps/rails-five/config/boot.rb +0 -4
- data/integration/apps/rails-five/config/cable.yml +0 -10
- data/integration/apps/rails-five/config/credentials.yml.enc +0 -1
- data/integration/apps/rails-five/config/database.yml +0 -28
- data/integration/apps/rails-five/config/environment.rb +0 -5
- data/integration/apps/rails-five/config/environments/development.rb +0 -51
- data/integration/apps/rails-five/config/environments/production.rb +0 -82
- data/integration/apps/rails-five/config/environments/test.rb +0 -43
- data/integration/apps/rails-five/config/initializers/datadog.rb +0 -18
- data/integration/apps/rails-five/config/initializers/filter_parameter_logging.rb +0 -4
- data/integration/apps/rails-five/config/initializers/resque.rb +0 -4
- data/integration/apps/rails-five/config/initializers/rollbar.rb +0 -5
- data/integration/apps/rails-five/config/initializers/wrap_parameters.rb +0 -14
- data/integration/apps/rails-five/config/locales/en.yml +0 -33
- data/integration/apps/rails-five/config/puma.rb +0 -24
- data/integration/apps/rails-five/config/routes.rb +0 -11
- data/integration/apps/rails-five/config/spring.rb +0 -6
- data/integration/apps/rails-five/config/unicorn.rb +0 -29
- data/integration/apps/rails-five/db/migrate/20190927215052_create_tests.rb +0 -11
- data/integration/apps/rails-five/db/schema.rb +0 -23
- data/integration/apps/rails-five/db/seeds.rb +0 -7
- data/integration/apps/rails-five/docker-compose.ci.yml +0 -98
- data/integration/apps/rails-five/docker-compose.yml +0 -100
- data/integration/apps/rails-five/lib/tasks/.keep +0 -0
- data/integration/apps/rails-five/log/.keep +0 -0
- data/integration/apps/rails-five/public/robots.txt +0 -1
- data/integration/apps/rails-five/script/build-images +0 -35
- data/integration/apps/rails-five/script/ci +0 -51
- data/integration/apps/rails-five/spec/integration/basic_spec.rb +0 -10
- data/integration/apps/rails-five/spec/spec_helper.rb +0 -16
- data/integration/apps/rails-five/spec/support/integration_helper.rb +0 -22
- data/integration/apps/rails-five/storage/.keep +0 -0
- data/integration/apps/rails-five/tmp/.keep +0 -0
- data/integration/apps/rails-five/vendor/.keep +0 -0
- data/integration/apps/rspec/.dockerignore +0 -1
- data/integration/apps/rspec/.envrc.sample +0 -1
- data/integration/apps/rspec/.gitignore +0 -2
- data/integration/apps/rspec/.rspec +0 -1
- data/integration/apps/rspec/Dockerfile +0 -25
- data/integration/apps/rspec/Dockerfile-ci +0 -11
- data/integration/apps/rspec/Gemfile +0 -14
- data/integration/apps/rspec/README.md +0 -70
- data/integration/apps/rspec/agent.yaml +0 -3
- data/integration/apps/rspec/app/datadog.rb +0 -13
- data/integration/apps/rspec/app/fibonacci.rb +0 -30
- data/integration/apps/rspec/bin/run +0 -20
- data/integration/apps/rspec/bin/setup +0 -17
- data/integration/apps/rspec/bin/test +0 -21
- data/integration/apps/rspec/docker-compose.ci.yml +0 -51
- data/integration/apps/rspec/docker-compose.yml +0 -63
- data/integration/apps/rspec/script/build-images +0 -37
- data/integration/apps/rspec/script/ci +0 -53
- data/integration/apps/rspec/spec/fibonacci_spec.rb +0 -16
- data/integration/apps/rspec/spec/rspec_spec.rb +0 -58
- data/integration/apps/rspec/spec/spec_helper.rb +0 -24
- data/integration/apps/ruby/.dockerignore +0 -1
- data/integration/apps/ruby/.envrc.sample +0 -1
- data/integration/apps/ruby/.gitignore +0 -2
- data/integration/apps/ruby/Dockerfile +0 -25
- data/integration/apps/ruby/Dockerfile-ci +0 -11
- data/integration/apps/ruby/Gemfile +0 -11
- data/integration/apps/ruby/README.md +0 -70
- data/integration/apps/ruby/agent.yaml +0 -3
- data/integration/apps/ruby/app/datadog.rb +0 -13
- data/integration/apps/ruby/app/fibonacci.rb +0 -58
- data/integration/apps/ruby/bin/run +0 -20
- data/integration/apps/ruby/bin/setup +0 -17
- data/integration/apps/ruby/bin/test +0 -21
- data/integration/apps/ruby/docker-compose.ci.yml +0 -51
- data/integration/apps/ruby/docker-compose.yml +0 -63
- data/integration/apps/ruby/script/build-images +0 -38
- data/integration/apps/ruby/script/ci +0 -51
- data/integration/images/agent/Dockerfile +0 -2
- data/integration/images/agent/agent.yaml +0 -3
- data/integration/images/include/datadog/analyzer.rb +0 -71
- data/integration/images/include/datadog/demo_env.rb +0 -101
- data/integration/images/include/http-health-check +0 -33
- data/integration/images/ruby/2.1/Dockerfile +0 -54
- data/integration/images/ruby/2.2/Dockerfile +0 -54
- data/integration/images/ruby/2.3/Dockerfile +0 -70
- data/integration/images/ruby/2.4/Dockerfile +0 -54
- data/integration/images/ruby/2.5/Dockerfile +0 -54
- data/integration/images/ruby/2.6/Dockerfile +0 -54
- data/integration/images/ruby/2.7/Dockerfile +0 -54
- data/integration/images/ruby/3.0/Dockerfile +0 -54
- data/integration/images/wrk/Dockerfile +0 -33
- data/integration/images/wrk/scripts/entrypoint.sh +0 -17
- data/integration/images/wrk/scripts/scenarios/basic/default.lua +0 -1
- data/integration/images/wrk/scripts/scenarios/basic/fibonacci.lua +0 -1
- data/integration/script/build-images +0 -43
- data/lib/ddtrace/environment.rb +0 -41
- data/lib/ddtrace/runtime/cgroup.rb +0 -44
- data/lib/ddtrace/runtime/class_count.rb +0 -17
- data/lib/ddtrace/runtime/container.rb +0 -87
- data/lib/ddtrace/runtime/gc.rb +0 -16
- data/lib/ddtrace/runtime/identity.rb +0 -48
- data/lib/ddtrace/runtime/object_space.rb +0 -19
- data/lib/ddtrace/runtime/socket.rb +0 -14
- data/lib/ddtrace/runtime/thread_count.rb +0 -16
- data/tasks/release_gem.rake +0 -28
Binary file
|
@@ -1,9 +0,0 @@
|
|
1
|
-
production:
|
2
|
-
adapter: 'postgresql'
|
3
|
-
timeout: 5000
|
4
|
-
database: <%= ENV.fetch('TEST_POSTGRES_DB', 'postgres') %>
|
5
|
-
host: <%= ENV.fetch('TEST_POSTGRES_HOST', '127.0.0.1') %>
|
6
|
-
port: <%= ENV.fetch('TEST_POSTGRES_PORT', 5432) %>
|
7
|
-
username: <%= ENV.fetch('TEST_POSTGRES_USER', 'postgres') %>
|
8
|
-
password: <%= ENV.fetch('TEST_POSTGRES_PASSWORD', 'postgres') %>
|
9
|
-
pool: 30
|
@@ -1,69 +0,0 @@
|
|
1
|
-
require 'benchmark/ips'
|
2
|
-
require 'ddtrace'
|
3
|
-
require 'pry'
|
4
|
-
|
5
|
-
# This benchmark measures the performance of the main stack sampling loop of the profiler
|
6
|
-
|
7
|
-
class ProfilerSampleLoopBenchmark
|
8
|
-
def create_profiler
|
9
|
-
Datadog.configure do |c|
|
10
|
-
# c.diagnostics.debug = true
|
11
|
-
c.profiling.enabled = true
|
12
|
-
c.tracer.transport_options = proc { |t| t.adapter :test }
|
13
|
-
end
|
14
|
-
|
15
|
-
# Stop background threads
|
16
|
-
Datadog.profiler.shutdown!
|
17
|
-
|
18
|
-
# Call collection directly
|
19
|
-
@stack_collector = Datadog.profiler.collectors.first
|
20
|
-
@recorder = @stack_collector.recorder
|
21
|
-
end
|
22
|
-
|
23
|
-
def thread_with_very_deep_stack(depth: 500)
|
24
|
-
deep_stack = proc do |n|
|
25
|
-
if n > 0
|
26
|
-
deep_stack.call(n - 1)
|
27
|
-
else
|
28
|
-
sleep
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
Thread.new { deep_stack.call(depth) }.tap { |t| t.name = "Deep stack #{depth}" }
|
33
|
-
end
|
34
|
-
|
35
|
-
def run_benchmark
|
36
|
-
Benchmark.ips do |x|
|
37
|
-
x.config(time: 10, warmup: 2)
|
38
|
-
|
39
|
-
x.report("stack collector #{ENV['CONFIG']}") do
|
40
|
-
@stack_collector.collect_and_wait
|
41
|
-
end
|
42
|
-
|
43
|
-
x.save! 'profiler-sample-loop-results'
|
44
|
-
x.compare!
|
45
|
-
end
|
46
|
-
|
47
|
-
@recorder.flush
|
48
|
-
end
|
49
|
-
|
50
|
-
def run_forever
|
51
|
-
while true
|
52
|
-
1000.times { @stack_collector.collect_and_wait }
|
53
|
-
@recorder.flush
|
54
|
-
print '.'
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
puts "Current pid is #{Process.pid}"
|
60
|
-
|
61
|
-
ProfilerSampleLoopBenchmark.new.instance_exec do
|
62
|
-
create_profiler
|
63
|
-
4.times { thread_with_very_deep_stack }
|
64
|
-
if ARGV.include?('--forever')
|
65
|
-
run_forever
|
66
|
-
else
|
67
|
-
run_benchmark
|
68
|
-
end
|
69
|
-
end
|
@@ -1,93 +0,0 @@
|
|
1
|
-
require 'benchmark/ips'
|
2
|
-
require 'ddtrace'
|
3
|
-
require 'pry'
|
4
|
-
|
5
|
-
# This benchmark measures the performance of encoding pprofs and trying to submit them
|
6
|
-
#
|
7
|
-
# The FLUSH_DUMP_FILE (by default benchmarks/data/profiler-submission-marshal.gz, gathered from benchmarking using
|
8
|
-
# the discourse forum rails app) can be generated by changing the scheduler.rb#flush_events to dump the contents of
|
9
|
-
# "flush" to a file during a benchmark execution:
|
10
|
-
#
|
11
|
-
# dump_file = "marshal-#{Time.now.utc.to_i}.dump"
|
12
|
-
# File.open(dump_file, "w") { |f| Marshal.dump(flush, f) }
|
13
|
-
# Datadog.logger.info("Dumped to #{dump_file}")
|
14
|
-
#
|
15
|
-
# And then gzipping the result. (This can probably be automated a bit by adding an extra exporter, but the above worked
|
16
|
-
# for me).
|
17
|
-
|
18
|
-
class ProfilerSubmission
|
19
|
-
def create_profiler
|
20
|
-
@adapter_buffer = []
|
21
|
-
|
22
|
-
Datadog.configure do |c|
|
23
|
-
# c.diagnostics.debug = true
|
24
|
-
c.profiling.enabled = true
|
25
|
-
c.tracer.transport_options = proc { |t| t.adapter :test, @adapter_buffer }
|
26
|
-
end
|
27
|
-
|
28
|
-
# Stop background threads
|
29
|
-
Datadog.profiler.shutdown!
|
30
|
-
|
31
|
-
# Call exporter directly
|
32
|
-
@exporter = Datadog.profiler.scheduler.exporters.first
|
33
|
-
@flush = Marshal.load(
|
34
|
-
Zlib::GzipReader.new(File.open(ENV['FLUSH_DUMP_FILE'] || 'benchmarks/data/profiler-submission-marshal.gz'))
|
35
|
-
)
|
36
|
-
end
|
37
|
-
|
38
|
-
def check_valid_pprof
|
39
|
-
output_pprof = @adapter_buffer.last[:form]["data[0]"].io
|
40
|
-
|
41
|
-
expected_hashes = [
|
42
|
-
"75c65dec2d5d750faca3e905486c39ba44219636ac1bea15d5d624b741d4b62a",
|
43
|
-
"6780c47b3e271f2abe0346fd40ac358f6a34270b3a8f5743aacd1970bbbbc6f5"
|
44
|
-
]
|
45
|
-
current_hash = Digest::SHA256.hexdigest(Zlib::GzipReader.new(output_pprof).read)
|
46
|
-
|
47
|
-
if expected_hashes.include?(current_hash)
|
48
|
-
puts "Output hash #{current_hash} matches known signature"
|
49
|
-
else
|
50
|
-
puts "WARNING: Unexpected pprof output -- unknown hash. Hashes seem to differ due to some of our dependencies changing, " \
|
51
|
-
"but it can also indicate that encoding output has become corrupted."
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
def run_benchmark
|
56
|
-
Benchmark.ips do |x|
|
57
|
-
x.config(time: 10, warmup: 2)
|
58
|
-
|
59
|
-
x.report("exporter #{ENV['CONFIG']}") do
|
60
|
-
run_once
|
61
|
-
end
|
62
|
-
|
63
|
-
x.save! 'profiler-submission-results.json'
|
64
|
-
x.compare!
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
def run_forever
|
69
|
-
while true
|
70
|
-
run_once
|
71
|
-
print '.'
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
def run_once
|
76
|
-
@adapter_buffer.clear
|
77
|
-
@exporter.export(@flush)
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
puts "Current pid is #{Process.pid}"
|
82
|
-
|
83
|
-
ProfilerSubmission.new.instance_exec do
|
84
|
-
create_profiler
|
85
|
-
run_once
|
86
|
-
check_valid_pprof
|
87
|
-
|
88
|
-
if ARGV.include?('--forever')
|
89
|
-
run_forever
|
90
|
-
else
|
91
|
-
run_benchmark
|
92
|
-
end
|
93
|
-
end
|
data/benchmarks/sidekiq_test.rb
DELETED
@@ -1,154 +0,0 @@
|
|
1
|
-
ENV['RAILS_ENV'] = 'production'
|
2
|
-
require 'English'
|
3
|
-
|
4
|
-
# Benchmark Configuration container
|
5
|
-
module TestConfiguration
|
6
|
-
module_function
|
7
|
-
|
8
|
-
def sidekiq
|
9
|
-
Sidekiq.options.tap do |options|
|
10
|
-
options[:tag] = 'test'
|
11
|
-
options[:queues] << 'default'
|
12
|
-
options[:concurrency] = 20
|
13
|
-
options[:timeout] = 2
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
def redis
|
18
|
-
{ pool_size: 30, timeout: 3 }
|
19
|
-
end
|
20
|
-
|
21
|
-
def iteration_count
|
22
|
-
1000
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
require 'bundler/setup'
|
27
|
-
require 'rails/all'
|
28
|
-
Bundler.require(*Rails.groups)
|
29
|
-
|
30
|
-
# Example Rails App
|
31
|
-
module SampleApp
|
32
|
-
class Application < Rails::Application; end
|
33
|
-
end
|
34
|
-
|
35
|
-
# Overrides rails configueration locations
|
36
|
-
module OverrideConfiguration
|
37
|
-
def paths
|
38
|
-
super.tap { |path| path.add 'config/database', with: 'benchmarks/postgres_database.yml' }
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
Rails::Application::Configuration.prepend(OverrideConfiguration)
|
43
|
-
|
44
|
-
Rails.application.configure do
|
45
|
-
config.cache_classes = true
|
46
|
-
config.eager_load = true
|
47
|
-
config.active_job.queue_adapter = :sidekiq
|
48
|
-
end
|
49
|
-
|
50
|
-
ActiveRecord::Base.configurations = Rails.application.config.database_configuration
|
51
|
-
Rails.application.initialize!
|
52
|
-
|
53
|
-
ActiveRecord::Schema.define do
|
54
|
-
drop_table(:samples) if connection.table_exists?(:samples)
|
55
|
-
|
56
|
-
create_table :samples do |t|
|
57
|
-
t.string :name
|
58
|
-
t.timestamps
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
class Sample < ActiveRecord::Base; end
|
63
|
-
|
64
|
-
require 'sidekiq/launcher'
|
65
|
-
require 'sidekiq/cli'
|
66
|
-
require 'concurrent/atomic/atomic_fixnum'
|
67
|
-
|
68
|
-
Sidekiq.configure_server do |config|
|
69
|
-
redis_conn = proc do
|
70
|
-
Redis.new(
|
71
|
-
host: ENV.fetch('TEST_REDIS_HOST', '127.0.0.1'),
|
72
|
-
port: ENV.fetch('TEST_REDIS_PORT', 6379)
|
73
|
-
)
|
74
|
-
end
|
75
|
-
config.redis = ConnectionPool.new(size: TestConfiguration.redis[:pool_size],
|
76
|
-
timeout: TestConfiguration.redis[:timeout],
|
77
|
-
&redis_conn)
|
78
|
-
end
|
79
|
-
|
80
|
-
# Simple Sidekiq worker performing the real benchmark
|
81
|
-
class Worker
|
82
|
-
class << self
|
83
|
-
attr_reader :iterations, :conditional_variable
|
84
|
-
end
|
85
|
-
|
86
|
-
@iterations = Concurrent::AtomicFixnum.new(0)
|
87
|
-
@conditional_variable = ConditionVariable.new
|
88
|
-
|
89
|
-
include Sidekiq::Worker
|
90
|
-
def perform(iter, max_iterations)
|
91
|
-
self.class.iterations.increment
|
92
|
-
self.class.conditional_variable.broadcast if self.class.iterations.value > max_iterations
|
93
|
-
|
94
|
-
Sample.create!(name: iter.to_s).save
|
95
|
-
|
96
|
-
100.times do
|
97
|
-
Sample.last.name
|
98
|
-
end
|
99
|
-
|
100
|
-
Sample.last(100).to_a
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
if Datadog.respond_to?(:configure)
|
105
|
-
Datadog.configure do |d|
|
106
|
-
d.use :rails, enabled: true, tags: { 'tag' => 'value' }
|
107
|
-
d.use :http
|
108
|
-
d.use :sidekiq, service_name: 'service'
|
109
|
-
d.use :redis
|
110
|
-
d.use :dalli
|
111
|
-
d.use :resque, workers: [Worker]
|
112
|
-
|
113
|
-
processor = Datadog::Pipeline::SpanProcessor.new do |span|
|
114
|
-
true if span.service == 'B'
|
115
|
-
end
|
116
|
-
|
117
|
-
Datadog::Pipeline.before_flush(processor)
|
118
|
-
end
|
119
|
-
end
|
120
|
-
|
121
|
-
def current_memory
|
122
|
-
`ps -o rss #{$PROCESS_ID}`.split("\n")[1].to_f / 1024
|
123
|
-
end
|
124
|
-
|
125
|
-
def time
|
126
|
-
Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
127
|
-
end
|
128
|
-
|
129
|
-
def launch(iterations, options)
|
130
|
-
iterations.times do |i|
|
131
|
-
Worker.perform_async(i, iterations)
|
132
|
-
end
|
133
|
-
|
134
|
-
launcher = Sidekiq::Launcher.new(options)
|
135
|
-
launcher.run
|
136
|
-
end
|
137
|
-
|
138
|
-
def wait_and_measure(iterations)
|
139
|
-
start = time
|
140
|
-
|
141
|
-
STDERR.puts "#{time - start}, #{current_memory}"
|
142
|
-
|
143
|
-
mutex = Mutex.new
|
144
|
-
|
145
|
-
while Worker.iterations.value < iterations
|
146
|
-
mutex.synchronize do
|
147
|
-
Worker.conditional_variable.wait(mutex, 1)
|
148
|
-
STDERR.puts "#{time - start}, #{current_memory}"
|
149
|
-
end
|
150
|
-
end
|
151
|
-
end
|
152
|
-
|
153
|
-
launch(TestConfiguration.iteration_count, TestConfiguration.sidekiq)
|
154
|
-
wait_and_measure(TestConfiguration.iteration_count)
|
data/docker-compose.yml
DELETED
@@ -1,414 +0,0 @@
|
|
1
|
-
version: '3.2'
|
2
|
-
services:
|
3
|
-
# MRI
|
4
|
-
tracer-2.1:
|
5
|
-
image: palazzem/docker-library:ddtrace_rb_2_1_10
|
6
|
-
command: /bin/bash
|
7
|
-
depends_on:
|
8
|
-
- ddagent
|
9
|
-
- elasticsearch
|
10
|
-
- memcached
|
11
|
-
- mongodb
|
12
|
-
- mysql
|
13
|
-
- postgres
|
14
|
-
- presto
|
15
|
-
- redis
|
16
|
-
env_file: ./.env
|
17
|
-
environment:
|
18
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
19
|
-
- DD_AGENT_HOST=ddagent
|
20
|
-
- TEST_DATADOG_INTEGRATION=1
|
21
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
22
|
-
- TEST_MEMCACHED_HOST=memcached
|
23
|
-
- TEST_MONGODB_HOST=mongodb
|
24
|
-
- TEST_MYSQL_HOST=mysql
|
25
|
-
- TEST_POSTGRES_HOST=postgres
|
26
|
-
- TEST_PRESTO_HOST=presto
|
27
|
-
- TEST_PRESTO_PORT=8080
|
28
|
-
- TEST_REDIS_HOST=redis
|
29
|
-
stdin_open: true
|
30
|
-
tty: true
|
31
|
-
volumes:
|
32
|
-
- .:/app
|
33
|
-
- bundle-2.1:/usr/local/bundle
|
34
|
-
tracer-2.2:
|
35
|
-
image: palazzem/docker-library:ddtrace_rb_2_2_10
|
36
|
-
command: /bin/bash
|
37
|
-
depends_on:
|
38
|
-
- ddagent
|
39
|
-
- elasticsearch
|
40
|
-
- memcached
|
41
|
-
- mongodb
|
42
|
-
- mysql
|
43
|
-
- postgres
|
44
|
-
- presto
|
45
|
-
- redis
|
46
|
-
env_file: ./.env
|
47
|
-
environment:
|
48
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
49
|
-
- DD_AGENT_HOST=ddagent
|
50
|
-
- TEST_DATADOG_INTEGRATION=1
|
51
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
52
|
-
- TEST_MEMCACHED_HOST=memcached
|
53
|
-
- TEST_MONGODB_HOST=mongodb
|
54
|
-
- TEST_MYSQL_HOST=mysql
|
55
|
-
- TEST_POSTGRES_HOST=postgres
|
56
|
-
- TEST_PRESTO_HOST=presto
|
57
|
-
- TEST_PRESTO_PORT=8080
|
58
|
-
- TEST_REDIS_HOST=redis
|
59
|
-
stdin_open: true
|
60
|
-
tty: true
|
61
|
-
volumes:
|
62
|
-
- .:/app
|
63
|
-
- bundle-2.2:/usr/local/bundle
|
64
|
-
tracer-2.3:
|
65
|
-
image: palazzem/docker-library:ddtrace_rb_2_3_8
|
66
|
-
command: /bin/bash
|
67
|
-
depends_on:
|
68
|
-
- ddagent
|
69
|
-
- elasticsearch
|
70
|
-
- memcached
|
71
|
-
- mongodb
|
72
|
-
- mysql
|
73
|
-
- postgres
|
74
|
-
- presto
|
75
|
-
- redis
|
76
|
-
env_file: ./.env
|
77
|
-
environment:
|
78
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
79
|
-
- DD_AGENT_HOST=ddagent
|
80
|
-
- TEST_DATADOG_INTEGRATION=1
|
81
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
82
|
-
- TEST_MEMCACHED_HOST=memcached
|
83
|
-
- TEST_MONGODB_HOST=mongodb
|
84
|
-
- TEST_MYSQL_HOST=mysql
|
85
|
-
- TEST_POSTGRES_HOST=postgres
|
86
|
-
- TEST_PRESTO_HOST=presto
|
87
|
-
- TEST_PRESTO_PORT=8080
|
88
|
-
- TEST_REDIS_HOST=redis
|
89
|
-
stdin_open: true
|
90
|
-
tty: true
|
91
|
-
volumes:
|
92
|
-
- .:/app
|
93
|
-
- bundle-2.3:/usr/local/bundle
|
94
|
-
tracer-2.4:
|
95
|
-
image: palazzem/docker-library:ddtrace_rb_2_4_6
|
96
|
-
command: /bin/bash
|
97
|
-
depends_on:
|
98
|
-
- ddagent
|
99
|
-
- elasticsearch
|
100
|
-
- memcached
|
101
|
-
- mongodb
|
102
|
-
- mysql
|
103
|
-
- postgres
|
104
|
-
- presto
|
105
|
-
- redis
|
106
|
-
env_file: ./.env
|
107
|
-
environment:
|
108
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
109
|
-
- DD_AGENT_HOST=ddagent
|
110
|
-
- TEST_DATADOG_INTEGRATION=1
|
111
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
112
|
-
- TEST_MEMCACHED_HOST=memcached
|
113
|
-
- TEST_MONGODB_HOST=mongodb
|
114
|
-
- TEST_MYSQL_HOST=mysql
|
115
|
-
- TEST_POSTGRES_HOST=postgres
|
116
|
-
- TEST_PRESTO_HOST=presto
|
117
|
-
- TEST_PRESTO_PORT=8080
|
118
|
-
- TEST_REDIS_HOST=redis
|
119
|
-
stdin_open: true
|
120
|
-
tty: true
|
121
|
-
volumes:
|
122
|
-
- .:/app
|
123
|
-
- bundle-2.4:/usr/local/bundle
|
124
|
-
tracer-2.5:
|
125
|
-
image: marcotc/docker-library:ddtrace_rb_2_5_6
|
126
|
-
command: /bin/bash
|
127
|
-
depends_on:
|
128
|
-
- ddagent
|
129
|
-
- elasticsearch
|
130
|
-
- memcached
|
131
|
-
- mongodb
|
132
|
-
- mysql
|
133
|
-
- postgres
|
134
|
-
- presto
|
135
|
-
- redis
|
136
|
-
env_file: ./.env
|
137
|
-
environment:
|
138
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
139
|
-
- DD_AGENT_HOST=ddagent
|
140
|
-
- TEST_DATADOG_INTEGRATION=1
|
141
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
142
|
-
- TEST_MEMCACHED_HOST=memcached
|
143
|
-
- TEST_MONGODB_HOST=mongodb
|
144
|
-
- TEST_MYSQL_HOST=mysql
|
145
|
-
- TEST_POSTGRES_HOST=postgres
|
146
|
-
- TEST_PRESTO_HOST=presto
|
147
|
-
- TEST_PRESTO_PORT=8080
|
148
|
-
- TEST_REDIS_HOST=redis
|
149
|
-
stdin_open: true
|
150
|
-
tty: true
|
151
|
-
volumes:
|
152
|
-
- .:/app
|
153
|
-
- bundle-2.5:/usr/local/bundle
|
154
|
-
tracer-2.6:
|
155
|
-
image: marcotc/docker-library:ddtrace_rb_2_6_4
|
156
|
-
command: /bin/bash
|
157
|
-
depends_on:
|
158
|
-
- ddagent
|
159
|
-
- elasticsearch
|
160
|
-
- memcached
|
161
|
-
- mongodb
|
162
|
-
- mysql
|
163
|
-
- postgres
|
164
|
-
- presto
|
165
|
-
- redis
|
166
|
-
env_file: ./.env
|
167
|
-
environment:
|
168
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
169
|
-
- DD_AGENT_HOST=ddagent
|
170
|
-
- TEST_DATADOG_INTEGRATION=1
|
171
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
172
|
-
- TEST_MEMCACHED_HOST=memcached
|
173
|
-
- TEST_MONGODB_HOST=mongodb
|
174
|
-
- TEST_MYSQL_HOST=mysql
|
175
|
-
- TEST_POSTGRES_HOST=postgres
|
176
|
-
- TEST_PRESTO_HOST=presto
|
177
|
-
- TEST_PRESTO_PORT=8080
|
178
|
-
- TEST_REDIS_HOST=redis
|
179
|
-
stdin_open: true
|
180
|
-
tty: true
|
181
|
-
volumes:
|
182
|
-
- .:/app
|
183
|
-
- bundle-2.6:/usr/local/bundle
|
184
|
-
tracer-2.7:
|
185
|
-
image: marcotc/docker-library:ddtrace_rb_2_7_0
|
186
|
-
command: /bin/bash
|
187
|
-
depends_on:
|
188
|
-
- ddagent
|
189
|
-
- elasticsearch
|
190
|
-
- memcached
|
191
|
-
- mongodb
|
192
|
-
- mysql
|
193
|
-
- postgres
|
194
|
-
- presto
|
195
|
-
- redis
|
196
|
-
env_file: ./.env
|
197
|
-
environment:
|
198
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
199
|
-
- DD_AGENT_HOST=ddagent
|
200
|
-
- TEST_DATADOG_INTEGRATION=1
|
201
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
202
|
-
- TEST_MEMCACHED_HOST=memcached
|
203
|
-
- TEST_MONGODB_HOST=mongodb
|
204
|
-
- TEST_MYSQL_HOST=mysql
|
205
|
-
- TEST_POSTGRES_HOST=postgres
|
206
|
-
- TEST_PRESTO_HOST=presto
|
207
|
-
- TEST_PRESTO_PORT=8080
|
208
|
-
- TEST_REDIS_HOST=redis
|
209
|
-
stdin_open: true
|
210
|
-
tty: true
|
211
|
-
volumes:
|
212
|
-
- .:/app
|
213
|
-
- bundle-2.7:/usr/local/bundle
|
214
|
-
tracer-3.0:
|
215
|
-
image: marcotc/docker-library:ddtrace_rb_3.0.0
|
216
|
-
command: /bin/bash
|
217
|
-
depends_on:
|
218
|
-
- ddagent
|
219
|
-
- elasticsearch
|
220
|
-
- memcached
|
221
|
-
- mongodb
|
222
|
-
- mysql
|
223
|
-
- postgres
|
224
|
-
- redis
|
225
|
-
env_file: ./.env
|
226
|
-
environment:
|
227
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
228
|
-
- DD_AGENT_HOST=ddagent
|
229
|
-
- TEST_DATADOG_INTEGRATION=1
|
230
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
231
|
-
- TEST_MEMCACHED_HOST=memcached
|
232
|
-
- TEST_MONGODB_HOST=mongodb
|
233
|
-
- TEST_MYSQL_HOST=mysql
|
234
|
-
- TEST_POSTGRES_HOST=postgres
|
235
|
-
- TEST_REDIS_HOST=redis
|
236
|
-
stdin_open: true
|
237
|
-
tty: true
|
238
|
-
volumes:
|
239
|
-
- .:/app
|
240
|
-
- bundle-3.0:/usr/local/bundle
|
241
|
-
# JRuby
|
242
|
-
tracer-jruby-9.2.0.0:
|
243
|
-
image: marcotc/docker-library:ddtrace_rb_jruby_9_2_0_0
|
244
|
-
command: /bin/bash
|
245
|
-
depends_on:
|
246
|
-
- ddagent
|
247
|
-
- elasticsearch
|
248
|
-
- memcached
|
249
|
-
- mongodb
|
250
|
-
- mysql
|
251
|
-
- postgres
|
252
|
-
- presto
|
253
|
-
- redis
|
254
|
-
env_file: ./.env
|
255
|
-
environment:
|
256
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
257
|
-
- DD_AGENT_HOST=ddagent
|
258
|
-
- TEST_DATADOG_INTEGRATION=1
|
259
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
260
|
-
- TEST_MEMCACHED_HOST=memcached
|
261
|
-
- TEST_MONGODB_HOST=mongodb
|
262
|
-
- TEST_MYSQL_HOST=mysql
|
263
|
-
- TEST_POSTGRES_HOST=postgres
|
264
|
-
- TEST_PRESTO_HOST=presto
|
265
|
-
- TEST_PRESTO_PORT=8080
|
266
|
-
- TEST_REDIS_HOST=redis
|
267
|
-
stdin_open: true
|
268
|
-
tty: true
|
269
|
-
volumes:
|
270
|
-
- .:/app
|
271
|
-
- bundle-jruby-9.2.0.0:/usr/local/bundle
|
272
|
-
tracer-jruby-9.2-latest:
|
273
|
-
image: marcotc/docker-library:ddtrace_rb_jruby_9_2_11_1
|
274
|
-
command: /bin/bash
|
275
|
-
depends_on:
|
276
|
-
- ddagent
|
277
|
-
- elasticsearch
|
278
|
-
- memcached
|
279
|
-
- mongodb
|
280
|
-
- mysql
|
281
|
-
- postgres
|
282
|
-
- presto
|
283
|
-
- redis
|
284
|
-
env_file: ./.env
|
285
|
-
environment:
|
286
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
287
|
-
- DD_AGENT_HOST=ddagent
|
288
|
-
- TEST_DATADOG_INTEGRATION=1
|
289
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
290
|
-
- TEST_MEMCACHED_HOST=memcached
|
291
|
-
- TEST_MONGODB_HOST=mongodb
|
292
|
-
- TEST_MYSQL_HOST=mysql
|
293
|
-
- TEST_POSTGRES_HOST=postgres
|
294
|
-
- TEST_PRESTO_HOST=presto
|
295
|
-
- TEST_PRESTO_PORT=8080
|
296
|
-
- TEST_REDIS_HOST=redis
|
297
|
-
stdin_open: true
|
298
|
-
tty: true
|
299
|
-
volumes:
|
300
|
-
- .:/app
|
301
|
-
- bundle-jruby-9.2-latest:/usr/local/bundle
|
302
|
-
# TruffleRuby
|
303
|
-
tracer-truffleruby-21.1.0:
|
304
|
-
image: ivoanjo/docker-library:ddtrace_rb_truffleruby_21_1_0
|
305
|
-
command: /bin/bash
|
306
|
-
depends_on:
|
307
|
-
- ddagent
|
308
|
-
- elasticsearch
|
309
|
-
- memcached
|
310
|
-
- mongodb
|
311
|
-
- mysql
|
312
|
-
- postgres
|
313
|
-
- presto
|
314
|
-
- redis
|
315
|
-
env_file: ./.env
|
316
|
-
environment:
|
317
|
-
- BUNDLE_GEMFILE=/app/Gemfile
|
318
|
-
- DD_AGENT_HOST=ddagent
|
319
|
-
- TEST_DATADOG_INTEGRATION=1
|
320
|
-
- TEST_ELASTICSEARCH_HOST=elasticsearch
|
321
|
-
- TEST_MEMCACHED_HOST=memcached
|
322
|
-
- TEST_MONGODB_HOST=mongodb
|
323
|
-
- TEST_MYSQL_HOST=mysql
|
324
|
-
- TEST_POSTGRES_HOST=postgres
|
325
|
-
- TEST_PRESTO_HOST=presto
|
326
|
-
- TEST_PRESTO_PORT=8080
|
327
|
-
- TEST_REDIS_HOST=redis
|
328
|
-
stdin_open: true
|
329
|
-
tty: true
|
330
|
-
volumes:
|
331
|
-
- .:/app
|
332
|
-
- bundle-truffleruby-21.1.0:/usr/local/bundle
|
333
|
-
ddagent:
|
334
|
-
image: datadog/agent
|
335
|
-
environment:
|
336
|
-
- DD_APM_ENABLED=true
|
337
|
-
- DD_BIND_HOST=0.0.0.0
|
338
|
-
- DD_API_KEY=00000000000000000000000000000000
|
339
|
-
expose:
|
340
|
-
- "8125/udp"
|
341
|
-
- "8126"
|
342
|
-
ports:
|
343
|
-
- "${DD_METRIC_AGENT_PORT}:8125/udp"
|
344
|
-
- "${DD_TRACE_AGENT_PORT}:8126"
|
345
|
-
elasticsearch:
|
346
|
-
# Note: ES 5.0 dies with error:
|
347
|
-
# max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
|
348
|
-
# see https://github.com/docker-library/elasticsearch/issues/98 for details
|
349
|
-
# For now, just rely on a 2.X server.
|
350
|
-
image: elasticsearch:2.4
|
351
|
-
expose:
|
352
|
-
- "9200"
|
353
|
-
- "9300"
|
354
|
-
ports:
|
355
|
-
- "${TEST_ELASTICSEARCH_REST_PORT}:9200"
|
356
|
-
- "${TEST_ELASTICSEARCH_NATIVE_PORT}:9300"
|
357
|
-
memcached:
|
358
|
-
image: memcached:1.5-alpine
|
359
|
-
expose:
|
360
|
-
- "11211"
|
361
|
-
ports:
|
362
|
-
- "${TEST_MEMCACHED_PORT}:11211"
|
363
|
-
mongodb:
|
364
|
-
image: mongo:3.5
|
365
|
-
expose:
|
366
|
-
- "27017"
|
367
|
-
ports:
|
368
|
-
- "${TEST_MONGODB_PORT}:27017"
|
369
|
-
mysql:
|
370
|
-
image: mysql:5.6
|
371
|
-
environment:
|
372
|
-
- MYSQL_DATABASE=$TEST_MYSQL_DB
|
373
|
-
- MYSQL_ROOT_PASSWORD=$TEST_MYSQL_ROOT_PASSWORD
|
374
|
-
- MYSQL_PASSWORD=$TEST_MYSQL_PASSWORD
|
375
|
-
- MYSQL_USER=$TEST_MYSQL_USER
|
376
|
-
expose:
|
377
|
-
- "3306"
|
378
|
-
ports:
|
379
|
-
- "${TEST_MYSQL_PORT}:3306"
|
380
|
-
postgres:
|
381
|
-
image: postgres:9.6
|
382
|
-
environment:
|
383
|
-
- POSTGRES_PASSWORD=$TEST_POSTGRES_PASSWORD
|
384
|
-
- POSTGRES_USER=$TEST_POSTGRES_USER
|
385
|
-
- POSTGRES_DB=$TEST_POSTGRES_DB
|
386
|
-
expose:
|
387
|
-
- "5432"
|
388
|
-
ports:
|
389
|
-
- "${TEST_POSTGRES_PORT}:5432"
|
390
|
-
presto:
|
391
|
-
# Move to trinodb/trino after https://github.com/treasure-data/presto-client-ruby/issues/64 is resolved.
|
392
|
-
image: starburstdata/presto:332-e.9
|
393
|
-
expose:
|
394
|
-
- "8080"
|
395
|
-
ports:
|
396
|
-
- "${TEST_PRESTO_PORT}:8080"
|
397
|
-
redis:
|
398
|
-
image: redis:3.0
|
399
|
-
expose:
|
400
|
-
- "6379"
|
401
|
-
ports:
|
402
|
-
- "${TEST_REDIS_PORT}:6379"
|
403
|
-
volumes:
|
404
|
-
bundle-2.1:
|
405
|
-
bundle-2.2:
|
406
|
-
bundle-2.3:
|
407
|
-
bundle-2.4:
|
408
|
-
bundle-2.5:
|
409
|
-
bundle-2.6:
|
410
|
-
bundle-2.7:
|
411
|
-
bundle-3.0:
|
412
|
-
bundle-jruby-9.2.0.0:
|
413
|
-
bundle-jruby-9.2-latest:
|
414
|
-
bundle-truffleruby-21.1.0:
|