ddtrace 0.51.1 → 0.54.1
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 +209 -11
- data/CONTRIBUTING.md +1 -5
- data/ddtrace.gemspec +15 -3
- data/docs/DevelopmentGuide.md +16 -6
- data/docs/GettingStarted.md +112 -18
- data/docs/ProfilingDevelopment.md +33 -14
- data/ext/ddtrace_profiling_native_extension/NativeExtensionDesign.md +86 -0
- data/ext/ddtrace_profiling_native_extension/clock_id.h +4 -0
- data/ext/ddtrace_profiling_native_extension/clock_id_from_pthread.c +52 -0
- data/ext/ddtrace_profiling_native_extension/clock_id_noop.c +14 -0
- data/ext/ddtrace_profiling_native_extension/extconf.rb +166 -0
- data/ext/ddtrace_profiling_native_extension/private_vm_api_access.c +35 -0
- data/ext/ddtrace_profiling_native_extension/private_vm_api_access.h +3 -0
- data/ext/ddtrace_profiling_native_extension/profiling.c +22 -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 +1 -0
- data/lib/datadog/ci/contrib/cucumber/ext.rb +1 -0
- data/lib/datadog/ci/contrib/cucumber/formatter.rb +2 -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 +1 -0
- data/lib/datadog/ci/contrib/rspec/example.rb +2 -0
- data/lib/datadog/ci/contrib/rspec/ext.rb +1 -0
- data/lib/datadog/ci/contrib/rspec/integration.rb +3 -2
- 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 +77 -30
- data/lib/datadog/ci/ext/settings.rb +1 -0
- data/lib/datadog/ci/ext/test.rb +2 -0
- data/lib/datadog/ci/extensions.rb +1 -0
- data/lib/datadog/ci/test.rb +6 -1
- data/lib/datadog/ci.rb +1 -0
- data/lib/datadog/contrib.rb +71 -0
- data/lib/datadog/core/environment/cgroup.rb +4 -1
- data/lib/datadog/core/environment/class_count.rb +1 -0
- data/lib/datadog/core/environment/container.rb +6 -3
- data/lib/datadog/core/environment/ext.rb +1 -0
- data/lib/datadog/core/environment/gc.rb +1 -0
- data/lib/datadog/core/environment/identity.rb +1 -0
- data/lib/datadog/core/environment/socket.rb +1 -0
- data/lib/datadog/core/environment/thread_count.rb +1 -0
- data/lib/datadog/core/environment/variable_helpers.rb +3 -0
- data/lib/datadog/core/environment/vm_cache.rb +46 -0
- data/lib/ddtrace/analytics.rb +1 -0
- data/lib/ddtrace/auto_instrument.rb +1 -0
- data/lib/ddtrace/auto_instrument_base.rb +1 -0
- data/lib/ddtrace/buffer.rb +34 -20
- data/lib/ddtrace/chunker.rb +1 -0
- data/lib/ddtrace/configuration/agent_settings_resolver.rb +132 -53
- data/lib/ddtrace/configuration/base.rb +1 -0
- data/lib/ddtrace/configuration/components.rb +21 -7
- 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 +23 -6
- data/lib/ddtrace/configuration.rb +21 -2
- data/lib/ddtrace/context.rb +11 -2
- 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/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/events.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/ext.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/instrumentation.rb +47 -0
- data/lib/ddtrace/contrib/action_cable/integration.rb +1 -0
- data/lib/ddtrace/contrib/action_cable/patcher.rb +2 -0
- data/lib/ddtrace/contrib/action_mailer/configuration/settings.rb +32 -0
- data/lib/ddtrace/contrib/action_mailer/event.rb +50 -0
- data/lib/ddtrace/contrib/action_mailer/events/deliver.rb +54 -0
- data/lib/ddtrace/contrib/action_mailer/events/process.rb +41 -0
- data/lib/ddtrace/contrib/action_mailer/events.rb +31 -0
- data/lib/ddtrace/contrib/action_mailer/ext.rb +32 -0
- data/lib/ddtrace/contrib/action_mailer/integration.rb +45 -0
- data/lib/ddtrace/contrib/action_mailer/patcher.rb +27 -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/render_partial.rb +1 -0
- data/lib/ddtrace/contrib/action_view/events/render_template.rb +1 -0
- data/lib/ddtrace/contrib/action_view/events.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_job/configuration/settings.rb +33 -0
- data/lib/ddtrace/contrib/active_job/event.rb +54 -0
- data/lib/ddtrace/contrib/active_job/events/discard.rb +46 -0
- data/lib/ddtrace/contrib/active_job/events/enqueue.rb +45 -0
- data/lib/ddtrace/contrib/active_job/events/enqueue_at.rb +45 -0
- data/lib/ddtrace/contrib/active_job/events/enqueue_retry.rb +47 -0
- data/lib/ddtrace/contrib/active_job/events/perform.rb +45 -0
- data/lib/ddtrace/contrib/active_job/events/retry_stopped.rb +46 -0
- data/lib/ddtrace/contrib/active_job/events.rb +39 -0
- data/lib/ddtrace/contrib/active_job/ext.rb +32 -0
- data/lib/ddtrace/contrib/active_job/integration.rb +46 -0
- data/lib/ddtrace/contrib/active_job/log_injection.rb +21 -0
- data/lib/ddtrace/contrib/active_job/patcher.rb +33 -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/render.rb +1 -0
- data/lib/ddtrace/contrib/active_model_serializers/events/serialize.rb +1 -0
- data/lib/ddtrace/contrib/active_model_serializers/events.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/instantiation.rb +1 -0
- data/lib/ddtrace/contrib/active_record/events/sql.rb +1 -0
- data/lib/ddtrace/contrib/active_record/events.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 +2 -1
- 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 -2
- 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 +1 -0
- 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 +3 -2
- 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/client.rb +1 -0
- data/lib/ddtrace/contrib/grpc/datadog_interceptor/server.rb +3 -4
- data/lib/ddtrace/contrib/grpc/datadog_interceptor.rb +5 -0
- 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/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/events.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 +1 -0
- data/lib/ddtrace/contrib/lograge/ext.rb +1 -0
- data/lib/ddtrace/contrib/lograge/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/lograge/integration.rb +1 -0
- data/lib/ddtrace/contrib/lograge/patcher.rb +1 -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 +2 -1
- data/lib/ddtrace/contrib/mongodb/integration.rb +6 -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/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/events.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 +1 -0
- 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 -1
- data/lib/ddtrace/contrib/rails/configuration/settings.rb +8 -0
- data/lib/ddtrace/contrib/rails/ext.rb +1 -0
- data/lib/ddtrace/contrib/rails/framework.rb +25 -1
- data/lib/ddtrace/contrib/rails/integration.rb +1 -0
- data/lib/ddtrace/contrib/rails/log_injection.rb +1 -0
- data/lib/ddtrace/contrib/rails/middlewares.rb +1 -0
- data/lib/ddtrace/contrib/rails/patcher.rb +19 -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/instrumentation.rb +90 -0
- data/lib/ddtrace/contrib/redis/integration.rb +1 -0
- data/lib/ddtrace/contrib/redis/patcher.rb +3 -84
- 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 +2 -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 +2 -5
- 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 +1 -0
- data/lib/ddtrace/contrib/semantic_logger/ext.rb +1 -0
- data/lib/ddtrace/contrib/semantic_logger/instrumentation.rb +1 -0
- data/lib/ddtrace/contrib/semantic_logger/integration.rb +1 -0
- data/lib/ddtrace/contrib/semantic_logger/patcher.rb +1 -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 +4 -0
- data/lib/ddtrace/contrib/sidekiq/integration.rb +11 -0
- data/lib/ddtrace/contrib/sidekiq/patcher.rb +27 -0
- data/lib/ddtrace/contrib/sidekiq/server_internal_tracer/heartbeat.rb +30 -0
- data/lib/ddtrace/contrib/sidekiq/server_internal_tracer/job_fetch.rb +30 -0
- data/lib/ddtrace/contrib/sidekiq/server_internal_tracer/scheduled_push.rb +29 -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 +3 -1
- 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 +27 -4
- 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 +1 -0
- data/lib/ddtrace/diagnostics/environment_logger.rb +2 -1
- 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 +1 -0
- data/lib/ddtrace/ext/errors.rb +1 -0
- data/lib/ddtrace/ext/forced_tracing.rb +1 -0
- data/lib/ddtrace/ext/git.rb +13 -0
- 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 +7 -4
- data/lib/ddtrace/ext/profiling.rb +5 -1
- data/lib/ddtrace/ext/runtime.rb +4 -0
- 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 +12 -0
- data/lib/ddtrace/forced_tracing.rb +1 -0
- data/lib/ddtrace/logger.rb +1 -0
- data/lib/ddtrace/metrics.rb +8 -7
- data/lib/ddtrace/opentelemetry/extensions.rb +1 -0
- data/lib/ddtrace/opentelemetry/span.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/opentracer.rb +1 -0
- data/lib/ddtrace/patcher.rb +1 -0
- data/lib/ddtrace/pin.rb +1 -0
- data/lib/ddtrace/pipeline/span_filter.rb +1 -0
- data/lib/ddtrace/pipeline/span_processor.rb +1 -0
- data/lib/ddtrace/pipeline.rb +1 -0
- data/lib/ddtrace/profiling/backtrace_location.rb +1 -0
- data/lib/ddtrace/profiling/buffer.rb +1 -0
- data/lib/ddtrace/profiling/collectors/stack.rb +118 -79
- data/lib/ddtrace/profiling/encoding/profile.rb +11 -2
- data/lib/ddtrace/profiling/event.rb +1 -0
- data/lib/ddtrace/profiling/events/stack.rb +21 -42
- data/lib/ddtrace/profiling/exporter.rb +1 -0
- data/lib/ddtrace/profiling/ext/forking.rb +1 -0
- data/lib/ddtrace/profiling/flush.rb +1 -0
- data/lib/ddtrace/profiling/native_extension.rb +40 -0
- data/lib/ddtrace/profiling/pprof/builder.rb +9 -2
- data/lib/ddtrace/profiling/pprof/converter.rb +23 -9
- 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 +44 -10
- data/lib/ddtrace/profiling/pprof/string_table.rb +1 -0
- data/lib/ddtrace/profiling/pprof/template.rb +3 -2
- 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 +29 -16
- data/lib/ddtrace/profiling/trace_identifiers/ddtrace.rb +42 -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/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/api.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/http.rb +26 -33
- 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/io.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/profiling.rb +64 -22
- 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 +15 -0
- data/lib/ddtrace/sampler.rb +19 -8
- 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 +15 -2
- data/lib/ddtrace/sampling.rb +1 -0
- data/lib/ddtrace/span.rb +4 -2
- data/lib/ddtrace/sync_writer.rb +1 -0
- data/lib/ddtrace/tasks/exec.rb +4 -5
- data/lib/ddtrace/tasks/help.rb +1 -0
- data/lib/ddtrace/tracer.rb +3 -3
- data/lib/ddtrace/transport/http/adapters/net.rb +14 -3
- data/lib/ddtrace/transport/http/adapters/registry.rb +1 -0
- data/lib/ddtrace/transport/http/adapters/test.rb +5 -2
- data/lib/ddtrace/transport/http/adapters/unix_socket.rb +24 -12
- 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/api.rb +1 -0
- data/lib/ddtrace/transport/http/builder.rb +14 -6
- 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/http.rb +8 -11
- 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/io.rb +1 -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/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 +14 -6
- data/lib/ddtrace/utils.rb +14 -2
- data/lib/ddtrace/vendor/active_record/connection_specification.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/multipart/post.rb +1 -0
- data/lib/ddtrace/vendor/multipart-post/multipart.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/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 +2 -1
- data/lib/ddtrace/workers.rb +2 -1
- data/lib/ddtrace/writer.rb +1 -0
- data/lib/ddtrace.rb +19 -51
- metadata +48 -605
- data/.circleci/config.yml +0 -869
- 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 -87
- data/.circleci/images/primary/Dockerfile-2.4.10 +0 -85
- data/.circleci/images/primary/Dockerfile-2.5.9 +0 -83
- data/.circleci/images/primary/Dockerfile-2.6.7 +0 -83
- data/.circleci/images/primary/Dockerfile-2.7.3 +0 -83
- data/.circleci/images/primary/Dockerfile-3.0.1 +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/.dd-ci/ci-app-spec.json +0 -31
- data/.dockerignore +0 -0
- data/.env +0 -26
- data/.gitattributes +0 -1
- 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/.github/workflows/test-head.yaml +0 -34
- data/.gitlab-ci.yml +0 -27
- data/.rspec +0 -1
- data/.rubocop.yml +0 -351
- data/.rubocop_todo.yml +0 -437
- data/.simplecov +0 -47
- data/Appraisals +0 -1443
- data/Gemfile +0 -72
- data/Rakefile +0 -982
- 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 -82
- data/gemfiles/jruby_9.2.0.0_contrib.gemfile.lock +0 -1571
- data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile +0 -36
- data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile.lock +0 -159
- data/gemfiles/jruby_9.2.0.0_core_old.gemfile +0 -35
- data/gemfiles/jruby_9.2.0.0_core_old.gemfile.lock +0 -155
- data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile +0 -36
- data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile.lock +0 -176
- data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile +0 -36
- data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile.lock +0 -208
- data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile +0 -36
- data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile.lock +0 -208
- data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile.lock +0 -273
- data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile.lock +0 -273
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile +0 -42
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile.lock +0 -275
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile +0 -42
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile.lock +0 -275
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile +0 -43
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile.lock +0 -281
- data/gemfiles/jruby_9.2.0.0_rails5_semantic_logger.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails5_semantic_logger.gemfile.lock +0 -272
- data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile.lock +0 -292
- data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile.lock +0 -292
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile +0 -42
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile.lock +0 -294
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile +0 -42
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile.lock +0 -299
- data/gemfiles/jruby_9.2.0.0_rails61_semantic_logger.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails61_semantic_logger.gemfile.lock +0 -291
- data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile.lock +0 -289
- data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile.lock +0 -289
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile +0 -42
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile.lock +0 -291
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile +0 -42
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile.lock +0 -291
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile +0 -43
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile.lock +0 -297
- data/gemfiles/jruby_9.2.0.0_rails6_semantic_logger.gemfile +0 -41
- data/gemfiles/jruby_9.2.0.0_rails6_semantic_logger.gemfile.lock +0 -288
- data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile +0 -37
- data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile.lock +0 -182
- data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile +0 -37
- data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile.lock +0 -182
- data/gemfiles/jruby_9.2.18.0_contrib.gemfile +0 -82
- data/gemfiles/jruby_9.2.18.0_contrib.gemfile.lock +0 -1571
- data/gemfiles/jruby_9.2.18.0_contrib_old.gemfile +0 -36
- data/gemfiles/jruby_9.2.18.0_contrib_old.gemfile.lock +0 -159
- data/gemfiles/jruby_9.2.18.0_core_old.gemfile +0 -35
- data/gemfiles/jruby_9.2.18.0_core_old.gemfile.lock +0 -155
- data/gemfiles/jruby_9.2.18.0_cucumber3.gemfile +0 -36
- data/gemfiles/jruby_9.2.18.0_cucumber3.gemfile.lock +0 -176
- data/gemfiles/jruby_9.2.18.0_cucumber4.gemfile +0 -36
- data/gemfiles/jruby_9.2.18.0_cucumber4.gemfile.lock +0 -208
- data/gemfiles/jruby_9.2.18.0_cucumber5.gemfile +0 -36
- data/gemfiles/jruby_9.2.18.0_cucumber5.gemfile.lock +0 -208
- data/gemfiles/jruby_9.2.18.0_rails5_mysql2.gemfile +0 -41
- data/gemfiles/jruby_9.2.18.0_rails5_mysql2.gemfile.lock +0 -273
- data/gemfiles/jruby_9.2.18.0_rails5_postgres.gemfile +0 -41
- data/gemfiles/jruby_9.2.18.0_rails5_postgres.gemfile.lock +0 -273
- data/gemfiles/jruby_9.2.18.0_rails5_postgres_redis.gemfile +0 -42
- data/gemfiles/jruby_9.2.18.0_rails5_postgres_redis.gemfile.lock +0 -275
- data/gemfiles/jruby_9.2.18.0_rails5_postgres_redis_activesupport.gemfile +0 -42
- data/gemfiles/jruby_9.2.18.0_rails5_postgres_redis_activesupport.gemfile.lock +0 -275
- data/gemfiles/jruby_9.2.18.0_rails5_postgres_sidekiq.gemfile +0 -43
- data/gemfiles/jruby_9.2.18.0_rails5_postgres_sidekiq.gemfile.lock +0 -281
- data/gemfiles/jruby_9.2.18.0_rails5_semantic_logger.gemfile +0 -41
- data/gemfiles/jruby_9.2.18.0_rails5_semantic_logger.gemfile.lock +0 -272
- data/gemfiles/jruby_9.2.18.0_rails61_mysql2.gemfile +0 -41
- data/gemfiles/jruby_9.2.18.0_rails61_mysql2.gemfile.lock +0 -292
- data/gemfiles/jruby_9.2.18.0_rails61_postgres.gemfile +0 -41
- data/gemfiles/jruby_9.2.18.0_rails61_postgres.gemfile.lock +0 -292
- data/gemfiles/jruby_9.2.18.0_rails61_postgres_redis.gemfile +0 -42
- data/gemfiles/jruby_9.2.18.0_rails61_postgres_redis.gemfile.lock +0 -294
- data/gemfiles/jruby_9.2.18.0_rails61_postgres_sidekiq.gemfile +0 -42
- data/gemfiles/jruby_9.2.18.0_rails61_postgres_sidekiq.gemfile.lock +0 -299
- data/gemfiles/jruby_9.2.18.0_rails61_semantic_logger.gemfile +0 -41
- data/gemfiles/jruby_9.2.18.0_rails61_semantic_logger.gemfile.lock +0 -291
- data/gemfiles/jruby_9.2.18.0_rails6_mysql2.gemfile +0 -41
- data/gemfiles/jruby_9.2.18.0_rails6_mysql2.gemfile.lock +0 -289
- data/gemfiles/jruby_9.2.18.0_rails6_postgres.gemfile +0 -41
- data/gemfiles/jruby_9.2.18.0_rails6_postgres.gemfile.lock +0 -289
- data/gemfiles/jruby_9.2.18.0_rails6_postgres_redis.gemfile +0 -42
- data/gemfiles/jruby_9.2.18.0_rails6_postgres_redis.gemfile.lock +0 -291
- data/gemfiles/jruby_9.2.18.0_rails6_postgres_redis_activesupport.gemfile +0 -42
- data/gemfiles/jruby_9.2.18.0_rails6_postgres_redis_activesupport.gemfile.lock +0 -291
- data/gemfiles/jruby_9.2.18.0_rails6_postgres_sidekiq.gemfile +0 -43
- data/gemfiles/jruby_9.2.18.0_rails6_postgres_sidekiq.gemfile.lock +0 -297
- data/gemfiles/jruby_9.2.18.0_rails6_semantic_logger.gemfile +0 -41
- data/gemfiles/jruby_9.2.18.0_rails6_semantic_logger.gemfile.lock +0 -288
- data/gemfiles/jruby_9.2.18.0_resque2_redis3.gemfile +0 -37
- data/gemfiles/jruby_9.2.18.0_resque2_redis3.gemfile.lock +0 -182
- data/gemfiles/jruby_9.2.18.0_resque2_redis4.gemfile +0 -37
- data/gemfiles/jruby_9.2.18.0_resque2_redis4.gemfile.lock +0 -182
- data/gemfiles/ruby_2.1.10_contrib_old.gemfile +0 -68
- data/gemfiles/ruby_2.1.10_contrib_old.gemfile.lock +0 -310
- data/gemfiles/ruby_2.1.10_core_old.gemfile +0 -34
- data/gemfiles/ruby_2.1.10_core_old.gemfile.lock +0 -120
- data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile.lock +0 -193
- data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile.lock +0 -202
- data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile +0 -42
- data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile.lock +0 -212
- data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile.lock +0 -201
- data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile +0 -41
- data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile.lock +0 -220
- data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile.lock +0 -210
- data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile +0 -39
- data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile.lock +0 -220
- data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile.lock +0 -220
- data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile +0 -41
- data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile.lock +0 -239
- data/gemfiles/ruby_2.1.10_rails4_semantic_logger.gemfile +0 -39
- data/gemfiles/ruby_2.1.10_rails4_semantic_logger.gemfile.lock +0 -218
- data/gemfiles/ruby_2.2.10_contrib.gemfile +0 -76
- data/gemfiles/ruby_2.2.10_contrib.gemfile.lock +0 -1499
- data/gemfiles/ruby_2.2.10_core_old.gemfile +0 -34
- data/gemfiles/ruby_2.2.10_core_old.gemfile.lock +0 -120
- data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile.lock +0 -193
- data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile.lock +0 -202
- data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile +0 -41
- data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile.lock +0 -209
- data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile.lock +0 -201
- data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile +0 -41
- data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile.lock +0 -220
- data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile.lock +0 -210
- data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile.lock +0 -220
- data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile.lock +0 -220
- data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile +0 -41
- data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile.lock +0 -239
- data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile +0 -41
- data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile.lock +0 -231
- data/gemfiles/ruby_2.2.10_rails4_semantic_logger.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails4_semantic_logger.gemfile.lock +0 -218
- data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile.lock +0 -236
- data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile.lock +0 -236
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile +0 -40
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile.lock +0 -238
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile +0 -40
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile.lock +0 -238
- data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile +0 -41
- data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile.lock +0 -247
- data/gemfiles/ruby_2.2.10_rails5_semantic_logger.gemfile +0 -39
- data/gemfiles/ruby_2.2.10_rails5_semantic_logger.gemfile.lock +0 -234
- data/gemfiles/ruby_2.3.8_contrib.gemfile +0 -75
- data/gemfiles/ruby_2.3.8_contrib.gemfile.lock +0 -1508
- data/gemfiles/ruby_2.3.8_contrib_old.gemfile +0 -34
- data/gemfiles/ruby_2.3.8_contrib_old.gemfile.lock +0 -123
- data/gemfiles/ruby_2.3.8_core_old.gemfile +0 -33
- data/gemfiles/ruby_2.3.8_core_old.gemfile.lock +0 -119
- data/gemfiles/ruby_2.3.8_cucumber3.gemfile +0 -34
- data/gemfiles/ruby_2.3.8_cucumber3.gemfile.lock +0 -140
- data/gemfiles/ruby_2.3.8_cucumber4.gemfile +0 -34
- data/gemfiles/ruby_2.3.8_cucumber4.gemfile.lock +0 -170
- data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile +0 -38
- data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile.lock +0 -192
- data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile +0 -39
- data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile.lock +0 -201
- data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile +0 -40
- data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile.lock +0 -208
- data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile +0 -38
- data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile.lock +0 -200
- data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile +0 -40
- data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile.lock +0 -219
- data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile +0 -39
- data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile.lock +0 -209
- data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile +0 -38
- data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile.lock +0 -219
- data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile +0 -38
- data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile.lock +0 -219
- data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile +0 -40
- data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile.lock +0 -238
- data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile +0 -40
- data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile.lock +0 -230
- data/gemfiles/ruby_2.3.8_rails4_semantic_logger.gemfile +0 -38
- data/gemfiles/ruby_2.3.8_rails4_semantic_logger.gemfile.lock +0 -218
- data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile +0 -37
- data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile.lock +0 -230
- data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile +0 -37
- data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile.lock +0 -230
- data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile +0 -38
- data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile.lock +0 -232
- 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 -232
- data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile +0 -39
- data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile.lock +0 -241
- data/gemfiles/ruby_2.3.8_rails5_semantic_logger.gemfile +0 -37
- data/gemfiles/ruby_2.3.8_rails5_semantic_logger.gemfile.lock +0 -229
- data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile +0 -35
- data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile.lock +0 -146
- data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile +0 -35
- data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile.lock +0 -146
- data/gemfiles/ruby_2.4.10_contrib.gemfile +0 -81
- data/gemfiles/ruby_2.4.10_contrib.gemfile.lock +0 -1596
- data/gemfiles/ruby_2.4.10_contrib_old.gemfile +0 -39
- data/gemfiles/ruby_2.4.10_contrib_old.gemfile.lock +0 -157
- data/gemfiles/ruby_2.4.10_core_old.gemfile +0 -38
- data/gemfiles/ruby_2.4.10_core_old.gemfile.lock +0 -153
- data/gemfiles/ruby_2.4.10_cucumber3.gemfile +0 -39
- data/gemfiles/ruby_2.4.10_cucumber3.gemfile.lock +0 -174
- data/gemfiles/ruby_2.4.10_cucumber4.gemfile +0 -39
- data/gemfiles/ruby_2.4.10_cucumber4.gemfile.lock +0 -204
- data/gemfiles/ruby_2.4.10_rails5_mysql2.gemfile +0 -42
- data/gemfiles/ruby_2.4.10_rails5_mysql2.gemfile.lock +0 -264
- data/gemfiles/ruby_2.4.10_rails5_postgres.gemfile +0 -42
- data/gemfiles/ruby_2.4.10_rails5_postgres.gemfile.lock +0 -264
- data/gemfiles/ruby_2.4.10_rails5_postgres_redis.gemfile +0 -43
- data/gemfiles/ruby_2.4.10_rails5_postgres_redis.gemfile.lock +0 -266
- data/gemfiles/ruby_2.4.10_rails5_postgres_redis_activesupport.gemfile +0 -43
- data/gemfiles/ruby_2.4.10_rails5_postgres_redis_activesupport.gemfile.lock +0 -266
- data/gemfiles/ruby_2.4.10_rails5_postgres_sidekiq.gemfile +0 -44
- data/gemfiles/ruby_2.4.10_rails5_postgres_sidekiq.gemfile.lock +0 -275
- data/gemfiles/ruby_2.4.10_rails5_semantic_logger.gemfile +0 -42
- data/gemfiles/ruby_2.4.10_rails5_semantic_logger.gemfile.lock +0 -263
- data/gemfiles/ruby_2.4.10_resque2_redis3.gemfile +0 -40
- data/gemfiles/ruby_2.4.10_resque2_redis3.gemfile.lock +0 -180
- data/gemfiles/ruby_2.4.10_resque2_redis4.gemfile +0 -40
- data/gemfiles/ruby_2.4.10_resque2_redis4.gemfile.lock +0 -180
- data/gemfiles/ruby_2.5.9_contrib.gemfile +0 -86
- data/gemfiles/ruby_2.5.9_contrib.gemfile.lock +0 -1608
- data/gemfiles/ruby_2.5.9_contrib_old.gemfile +0 -40
- data/gemfiles/ruby_2.5.9_contrib_old.gemfile.lock +0 -167
- data/gemfiles/ruby_2.5.9_core_old.gemfile +0 -39
- data/gemfiles/ruby_2.5.9_core_old.gemfile.lock +0 -163
- data/gemfiles/ruby_2.5.9_cucumber3.gemfile +0 -40
- data/gemfiles/ruby_2.5.9_cucumber3.gemfile.lock +0 -184
- data/gemfiles/ruby_2.5.9_cucumber4.gemfile +0 -40
- data/gemfiles/ruby_2.5.9_cucumber4.gemfile.lock +0 -216
- data/gemfiles/ruby_2.5.9_cucumber5.gemfile +0 -40
- data/gemfiles/ruby_2.5.9_cucumber5.gemfile.lock +0 -216
- data/gemfiles/ruby_2.5.9_rails5_mysql2.gemfile +0 -45
- data/gemfiles/ruby_2.5.9_rails5_mysql2.gemfile.lock +0 -276
- data/gemfiles/ruby_2.5.9_rails5_postgres.gemfile +0 -45
- data/gemfiles/ruby_2.5.9_rails5_postgres.gemfile.lock +0 -276
- data/gemfiles/ruby_2.5.9_rails5_postgres_redis.gemfile +0 -46
- data/gemfiles/ruby_2.5.9_rails5_postgres_redis.gemfile.lock +0 -278
- data/gemfiles/ruby_2.5.9_rails5_postgres_redis_activesupport.gemfile +0 -46
- data/gemfiles/ruby_2.5.9_rails5_postgres_redis_activesupport.gemfile.lock +0 -278
- data/gemfiles/ruby_2.5.9_rails5_postgres_sidekiq.gemfile +0 -47
- data/gemfiles/ruby_2.5.9_rails5_postgres_sidekiq.gemfile.lock +0 -284
- data/gemfiles/ruby_2.5.9_rails5_semantic_logger.gemfile +0 -45
- data/gemfiles/ruby_2.5.9_rails5_semantic_logger.gemfile.lock +0 -275
- data/gemfiles/ruby_2.5.9_rails61_mysql2.gemfile +0 -45
- data/gemfiles/ruby_2.5.9_rails61_mysql2.gemfile.lock +0 -295
- data/gemfiles/ruby_2.5.9_rails61_postgres.gemfile +0 -45
- data/gemfiles/ruby_2.5.9_rails61_postgres.gemfile.lock +0 -295
- data/gemfiles/ruby_2.5.9_rails61_postgres_redis.gemfile +0 -46
- data/gemfiles/ruby_2.5.9_rails61_postgres_redis.gemfile.lock +0 -297
- data/gemfiles/ruby_2.5.9_rails61_postgres_sidekiq.gemfile +0 -46
- data/gemfiles/ruby_2.5.9_rails61_postgres_sidekiq.gemfile.lock +0 -302
- data/gemfiles/ruby_2.5.9_rails61_semantic_logger.gemfile +0 -45
- data/gemfiles/ruby_2.5.9_rails61_semantic_logger.gemfile.lock +0 -294
- data/gemfiles/ruby_2.5.9_rails6_mysql2.gemfile +0 -45
- data/gemfiles/ruby_2.5.9_rails6_mysql2.gemfile.lock +0 -292
- data/gemfiles/ruby_2.5.9_rails6_postgres.gemfile +0 -45
- data/gemfiles/ruby_2.5.9_rails6_postgres.gemfile.lock +0 -292
- data/gemfiles/ruby_2.5.9_rails6_postgres_redis.gemfile +0 -46
- data/gemfiles/ruby_2.5.9_rails6_postgres_redis.gemfile.lock +0 -294
- data/gemfiles/ruby_2.5.9_rails6_postgres_redis_activesupport.gemfile +0 -46
- data/gemfiles/ruby_2.5.9_rails6_postgres_redis_activesupport.gemfile.lock +0 -294
- data/gemfiles/ruby_2.5.9_rails6_postgres_sidekiq.gemfile +0 -47
- data/gemfiles/ruby_2.5.9_rails6_postgres_sidekiq.gemfile.lock +0 -300
- data/gemfiles/ruby_2.5.9_rails6_semantic_logger.gemfile +0 -45
- data/gemfiles/ruby_2.5.9_rails6_semantic_logger.gemfile.lock +0 -291
- data/gemfiles/ruby_2.5.9_resque2_redis3.gemfile +0 -41
- data/gemfiles/ruby_2.5.9_resque2_redis3.gemfile.lock +0 -190
- data/gemfiles/ruby_2.5.9_resque2_redis4.gemfile +0 -41
- data/gemfiles/ruby_2.5.9_resque2_redis4.gemfile.lock +0 -190
- data/gemfiles/ruby_2.6.7_contrib.gemfile +0 -82
- data/gemfiles/ruby_2.6.7_contrib.gemfile.lock +0 -1606
- data/gemfiles/ruby_2.6.7_contrib_old.gemfile +0 -40
- data/gemfiles/ruby_2.6.7_contrib_old.gemfile.lock +0 -169
- data/gemfiles/ruby_2.6.7_core_old.gemfile +0 -39
- data/gemfiles/ruby_2.6.7_core_old.gemfile.lock +0 -165
- data/gemfiles/ruby_2.6.7_cucumber3.gemfile +0 -40
- data/gemfiles/ruby_2.6.7_cucumber3.gemfile.lock +0 -186
- data/gemfiles/ruby_2.6.7_cucumber4.gemfile +0 -40
- data/gemfiles/ruby_2.6.7_cucumber4.gemfile.lock +0 -218
- data/gemfiles/ruby_2.6.7_cucumber5.gemfile +0 -40
- data/gemfiles/ruby_2.6.7_cucumber5.gemfile.lock +0 -218
- data/gemfiles/ruby_2.6.7_rails5_mysql2.gemfile +0 -43
- data/gemfiles/ruby_2.6.7_rails5_mysql2.gemfile.lock +0 -276
- data/gemfiles/ruby_2.6.7_rails5_postgres.gemfile +0 -43
- data/gemfiles/ruby_2.6.7_rails5_postgres.gemfile.lock +0 -276
- data/gemfiles/ruby_2.6.7_rails5_postgres_redis.gemfile +0 -44
- data/gemfiles/ruby_2.6.7_rails5_postgres_redis.gemfile.lock +0 -278
- data/gemfiles/ruby_2.6.7_rails5_postgres_redis_activesupport.gemfile +0 -44
- data/gemfiles/ruby_2.6.7_rails5_postgres_redis_activesupport.gemfile.lock +0 -278
- data/gemfiles/ruby_2.6.7_rails5_postgres_sidekiq.gemfile +0 -45
- data/gemfiles/ruby_2.6.7_rails5_postgres_sidekiq.gemfile.lock +0 -284
- data/gemfiles/ruby_2.6.7_rails5_semantic_logger.gemfile +0 -43
- data/gemfiles/ruby_2.6.7_rails5_semantic_logger.gemfile.lock +0 -275
- data/gemfiles/ruby_2.6.7_rails61_mysql2.gemfile +0 -43
- data/gemfiles/ruby_2.6.7_rails61_mysql2.gemfile.lock +0 -295
- data/gemfiles/ruby_2.6.7_rails61_postgres.gemfile +0 -43
- data/gemfiles/ruby_2.6.7_rails61_postgres.gemfile.lock +0 -295
- data/gemfiles/ruby_2.6.7_rails61_postgres_redis.gemfile +0 -44
- data/gemfiles/ruby_2.6.7_rails61_postgres_redis.gemfile.lock +0 -297
- data/gemfiles/ruby_2.6.7_rails61_postgres_sidekiq.gemfile +0 -44
- data/gemfiles/ruby_2.6.7_rails61_postgres_sidekiq.gemfile.lock +0 -302
- data/gemfiles/ruby_2.6.7_rails61_semantic_logger.gemfile +0 -43
- data/gemfiles/ruby_2.6.7_rails61_semantic_logger.gemfile.lock +0 -294
- data/gemfiles/ruby_2.6.7_rails6_mysql2.gemfile +0 -43
- data/gemfiles/ruby_2.6.7_rails6_mysql2.gemfile.lock +0 -292
- data/gemfiles/ruby_2.6.7_rails6_postgres.gemfile +0 -43
- data/gemfiles/ruby_2.6.7_rails6_postgres.gemfile.lock +0 -292
- data/gemfiles/ruby_2.6.7_rails6_postgres_redis.gemfile +0 -44
- data/gemfiles/ruby_2.6.7_rails6_postgres_redis.gemfile.lock +0 -294
- data/gemfiles/ruby_2.6.7_rails6_postgres_redis_activesupport.gemfile +0 -44
- data/gemfiles/ruby_2.6.7_rails6_postgres_redis_activesupport.gemfile.lock +0 -294
- data/gemfiles/ruby_2.6.7_rails6_postgres_sidekiq.gemfile +0 -45
- data/gemfiles/ruby_2.6.7_rails6_postgres_sidekiq.gemfile.lock +0 -300
- data/gemfiles/ruby_2.6.7_rails6_semantic_logger.gemfile +0 -43
- data/gemfiles/ruby_2.6.7_rails6_semantic_logger.gemfile.lock +0 -291
- data/gemfiles/ruby_2.6.7_resque2_redis3.gemfile +0 -41
- data/gemfiles/ruby_2.6.7_resque2_redis3.gemfile.lock +0 -192
- data/gemfiles/ruby_2.6.7_resque2_redis4.gemfile +0 -41
- data/gemfiles/ruby_2.6.7_resque2_redis4.gemfile.lock +0 -192
- data/gemfiles/ruby_2.7.3_contrib.gemfile +0 -81
- data/gemfiles/ruby_2.7.3_contrib.gemfile.lock +0 -1580
- data/gemfiles/ruby_2.7.3_contrib_old.gemfile +0 -40
- data/gemfiles/ruby_2.7.3_contrib_old.gemfile.lock +0 -169
- data/gemfiles/ruby_2.7.3_core_old.gemfile +0 -39
- data/gemfiles/ruby_2.7.3_core_old.gemfile.lock +0 -165
- data/gemfiles/ruby_2.7.3_cucumber3.gemfile +0 -40
- data/gemfiles/ruby_2.7.3_cucumber3.gemfile.lock +0 -186
- data/gemfiles/ruby_2.7.3_cucumber4.gemfile +0 -40
- data/gemfiles/ruby_2.7.3_cucumber4.gemfile.lock +0 -218
- data/gemfiles/ruby_2.7.3_cucumber5.gemfile +0 -40
- data/gemfiles/ruby_2.7.3_cucumber5.gemfile.lock +0 -218
- data/gemfiles/ruby_2.7.3_rails5_mysql2.gemfile +0 -43
- data/gemfiles/ruby_2.7.3_rails5_mysql2.gemfile.lock +0 -278
- data/gemfiles/ruby_2.7.3_rails5_postgres.gemfile +0 -43
- data/gemfiles/ruby_2.7.3_rails5_postgres.gemfile.lock +0 -278
- data/gemfiles/ruby_2.7.3_rails5_postgres_redis.gemfile +0 -45
- data/gemfiles/ruby_2.7.3_rails5_postgres_redis.gemfile.lock +0 -297
- data/gemfiles/ruby_2.7.3_rails5_postgres_redis_activesupport.gemfile +0 -45
- data/gemfiles/ruby_2.7.3_rails5_postgres_redis_activesupport.gemfile.lock +0 -297
- data/gemfiles/ruby_2.7.3_rails5_postgres_sidekiq.gemfile +0 -45
- data/gemfiles/ruby_2.7.3_rails5_postgres_sidekiq.gemfile.lock +0 -286
- data/gemfiles/ruby_2.7.3_rails5_semantic_logger.gemfile +0 -43
- data/gemfiles/ruby_2.7.3_rails5_semantic_logger.gemfile.lock +0 -277
- data/gemfiles/ruby_2.7.3_rails61_mysql2.gemfile +0 -43
- data/gemfiles/ruby_2.7.3_rails61_mysql2.gemfile.lock +0 -297
- data/gemfiles/ruby_2.7.3_rails61_postgres.gemfile +0 -43
- data/gemfiles/ruby_2.7.3_rails61_postgres.gemfile.lock +0 -297
- data/gemfiles/ruby_2.7.3_rails61_postgres_redis.gemfile +0 -44
- data/gemfiles/ruby_2.7.3_rails61_postgres_redis.gemfile.lock +0 -299
- data/gemfiles/ruby_2.7.3_rails61_postgres_sidekiq.gemfile +0 -44
- data/gemfiles/ruby_2.7.3_rails61_postgres_sidekiq.gemfile.lock +0 -304
- data/gemfiles/ruby_2.7.3_rails61_semantic_logger.gemfile +0 -43
- data/gemfiles/ruby_2.7.3_rails61_semantic_logger.gemfile.lock +0 -296
- data/gemfiles/ruby_2.7.3_rails6_mysql2.gemfile +0 -43
- data/gemfiles/ruby_2.7.3_rails6_mysql2.gemfile.lock +0 -294
- data/gemfiles/ruby_2.7.3_rails6_postgres.gemfile +0 -43
- data/gemfiles/ruby_2.7.3_rails6_postgres.gemfile.lock +0 -294
- data/gemfiles/ruby_2.7.3_rails6_postgres_redis.gemfile +0 -45
- data/gemfiles/ruby_2.7.3_rails6_postgres_redis.gemfile.lock +0 -313
- data/gemfiles/ruby_2.7.3_rails6_postgres_redis_activesupport.gemfile +0 -45
- data/gemfiles/ruby_2.7.3_rails6_postgres_redis_activesupport.gemfile.lock +0 -313
- data/gemfiles/ruby_2.7.3_rails6_postgres_sidekiq.gemfile +0 -45
- data/gemfiles/ruby_2.7.3_rails6_postgres_sidekiq.gemfile.lock +0 -302
- data/gemfiles/ruby_2.7.3_rails6_semantic_logger.gemfile +0 -43
- data/gemfiles/ruby_2.7.3_rails6_semantic_logger.gemfile.lock +0 -293
- data/gemfiles/ruby_2.7.3_resque2_redis3.gemfile +0 -41
- data/gemfiles/ruby_2.7.3_resque2_redis3.gemfile.lock +0 -192
- data/gemfiles/ruby_2.7.3_resque2_redis4.gemfile +0 -41
- data/gemfiles/ruby_2.7.3_resque2_redis4.gemfile.lock +0 -192
- data/gemfiles/ruby_3.0.1_contrib.gemfile +0 -80
- data/gemfiles/ruby_3.0.1_contrib.gemfile.lock +0 -1583
- data/gemfiles/ruby_3.0.1_core_old.gemfile +0 -40
- data/gemfiles/ruby_3.0.1_core_old.gemfile.lock +0 -167
- data/gemfiles/ruby_3.0.1_cucumber3.gemfile +0 -41
- data/gemfiles/ruby_3.0.1_cucumber3.gemfile.lock +0 -188
- data/gemfiles/ruby_3.0.1_cucumber4.gemfile +0 -41
- data/gemfiles/ruby_3.0.1_cucumber4.gemfile.lock +0 -220
- data/gemfiles/ruby_3.0.1_cucumber5.gemfile +0 -41
- data/gemfiles/ruby_3.0.1_cucumber5.gemfile.lock +0 -220
- data/gemfiles/ruby_3.0.1_rails61_mysql2.gemfile +0 -44
- data/gemfiles/ruby_3.0.1_rails61_mysql2.gemfile.lock +0 -297
- data/gemfiles/ruby_3.0.1_rails61_postgres.gemfile +0 -44
- data/gemfiles/ruby_3.0.1_rails61_postgres.gemfile.lock +0 -297
- data/gemfiles/ruby_3.0.1_rails61_postgres_redis.gemfile +0 -45
- data/gemfiles/ruby_3.0.1_rails61_postgres_redis.gemfile.lock +0 -299
- data/gemfiles/ruby_3.0.1_rails61_postgres_sidekiq.gemfile +0 -46
- data/gemfiles/ruby_3.0.1_rails61_postgres_sidekiq.gemfile.lock +0 -311
- data/gemfiles/ruby_3.0.1_rails61_semantic_logger.gemfile +0 -44
- data/gemfiles/ruby_3.0.1_rails61_semantic_logger.gemfile.lock +0 -296
- data/gemfiles/ruby_3.0.1_resque2_redis3.gemfile +0 -42
- data/gemfiles/ruby_3.0.1_resque2_redis3.gemfile.lock +0 -194
- data/gemfiles/ruby_3.0.1_resque2_redis4.gemfile +0 -42
- data/gemfiles/ruby_3.0.1_resque2_redis4.gemfile.lock +0 -194
- 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/puma.rb +0 -14
- data/integration/apps/rack/config/unicorn.rb +0 -23
- data/integration/apps/rack/config.ru +0 -6
- 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/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/config.ru +0 -5
- 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 -23
- 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 -64
- 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 -102
- 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/datadog/core/environment/object_space.rb +0 -22
- data/lib/ddtrace/profiling/ext/cpu.rb +0 -67
- data/lib/ddtrace/profiling/ext/cthread.rb +0 -155
- data/tasks/release_gem.rake +0 -28
- data/tasks/update_appraisal_gemfiles.rake +0 -36
@@ -1,3 +1,5 @@
|
|
1
|
+
# typed: true
|
2
|
+
require 'ddtrace/configuration/agent_settings_resolver'
|
1
3
|
require 'ddtrace/transport/http/adapters/registry'
|
2
4
|
require 'ddtrace/transport/http/api/map'
|
3
5
|
require 'ddtrace/transport/http/api/instance'
|
@@ -32,14 +34,20 @@ module Datadog
|
|
32
34
|
yield(self) if block_given?
|
33
35
|
end
|
34
36
|
|
35
|
-
def adapter(
|
36
|
-
@default_adapter =
|
37
|
-
|
38
|
-
|
37
|
+
def adapter(config, *args, **kwargs)
|
38
|
+
@default_adapter = case config
|
39
|
+
when Configuration::AgentSettingsResolver::AgentSettings
|
40
|
+
registry_klass = REGISTRY.get(config.adapter)
|
41
|
+
raise UnknownAdapterError, config.adapter if registry_klass.nil?
|
39
42
|
|
40
|
-
registry_klass.
|
43
|
+
registry_klass.build(config)
|
44
|
+
when Symbol
|
45
|
+
registry_klass = REGISTRY.get(config)
|
46
|
+
raise UnknownAdapterError, config if registry_klass.nil?
|
47
|
+
|
48
|
+
registry_klass.new(*args, **kwargs)
|
41
49
|
else
|
42
|
-
|
50
|
+
config
|
43
51
|
end
|
44
52
|
end
|
45
53
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
require 'ddtrace/transport/http/statistics'
|
2
3
|
require 'ddtrace/transport/http/env'
|
3
4
|
|
@@ -26,7 +27,8 @@ module Datadog
|
|
26
27
|
|
27
28
|
response
|
28
29
|
rescue StandardError => e
|
29
|
-
message =
|
30
|
+
message =
|
31
|
+
"Internal error during HTTP transport request. Cause: #{e.message} Location: #{Array(e.backtrace).first}"
|
30
32
|
|
31
33
|
# Log error
|
32
34
|
if stats.consecutive_errors > 0
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
require 'ddtrace/version'
|
2
3
|
require 'datadog/core/environment/ext'
|
3
4
|
require 'ddtrace/ext/transport'
|
@@ -16,6 +17,8 @@ module Datadog
|
|
16
17
|
module Transport
|
17
18
|
# Namespace for HTTP transport components
|
18
19
|
module HTTP
|
20
|
+
include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003)
|
21
|
+
|
19
22
|
module_function
|
20
23
|
|
21
24
|
# Builds a new Transport::HTTP::Client
|
@@ -27,13 +30,7 @@ module Datadog
|
|
27
30
|
# Pass a block to override any settings.
|
28
31
|
def default(agent_settings: Datadog::Configuration::AgentSettingsResolver::ENVIRONMENT_AGENT_SETTINGS, **options)
|
29
32
|
new do |transport|
|
30
|
-
transport.adapter(
|
31
|
-
default_adapter,
|
32
|
-
agent_settings.hostname,
|
33
|
-
agent_settings.port,
|
34
|
-
timeout: agent_settings.timeout_seconds,
|
35
|
-
ssl: agent_settings.ssl
|
36
|
-
)
|
33
|
+
transport.adapter(agent_settings)
|
37
34
|
transport.headers default_headers
|
38
35
|
|
39
36
|
if agent_settings.deprecated_for_removal_transport_configuration_options
|
@@ -77,7 +74,7 @@ module Datadog
|
|
77
74
|
end
|
78
75
|
|
79
76
|
def default_adapter
|
80
|
-
|
77
|
+
Ext::Transport::HTTP::ADAPTER
|
81
78
|
end
|
82
79
|
|
83
80
|
def default_hostname(logger: Datadog.logger)
|
@@ -108,9 +105,9 @@ module Datadog
|
|
108
105
|
end
|
109
106
|
|
110
107
|
# Add adapters to registry
|
111
|
-
Builder::REGISTRY.set(Adapters::Net,
|
112
|
-
Builder::REGISTRY.set(Adapters::Test,
|
113
|
-
Builder::REGISTRY.set(Adapters::UnixSocket,
|
108
|
+
Builder::REGISTRY.set(Adapters::Net, Ext::Transport::HTTP::ADAPTER)
|
109
|
+
Builder::REGISTRY.set(Adapters::Test, Ext::Transport::Test::ADAPTER)
|
110
|
+
Builder::REGISTRY.set(Adapters::UnixSocket, Ext::Transport::UnixSocket::ADAPTER)
|
114
111
|
end
|
115
112
|
end
|
116
113
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
require 'ddtrace/transport/statistics'
|
2
3
|
require 'ddtrace/transport/io/response'
|
3
4
|
|
@@ -38,7 +39,7 @@ module Datadog
|
|
38
39
|
# Return response
|
39
40
|
response
|
40
41
|
rescue StandardError => e
|
41
|
-
message = "Internal error during IO transport request. Cause: #{e.message} Location: #{e.backtrace.first}"
|
42
|
+
message = "Internal error during IO transport request. Cause: #{e.message} Location: #{Array(e.backtrace).first}"
|
42
43
|
|
43
44
|
# Log error
|
44
45
|
if stats.consecutive_errors > 0
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
require 'ddtrace/transport/traces'
|
2
3
|
|
3
4
|
require 'ddtrace/transport/io/response'
|
@@ -20,6 +21,8 @@ module Datadog
|
|
20
21
|
|
21
22
|
# Extensions for HTTP client
|
22
23
|
module Client
|
24
|
+
include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003)
|
25
|
+
|
23
26
|
def send_traces(traces)
|
24
27
|
# Build a request
|
25
28
|
req = Transport::Traces::Request.new(Parcel.new(traces))
|
data/lib/ddtrace/transport/io.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
require 'ddtrace/transport/parcel'
|
2
3
|
require 'ddtrace/transport/request'
|
3
4
|
require 'ddtrace/chunker'
|
@@ -7,7 +8,7 @@ module Datadog
|
|
7
8
|
module Traces
|
8
9
|
# Data transfer object for encoded traces
|
9
10
|
class EncodedParcel
|
10
|
-
include Transport::Parcel
|
11
|
+
include Datadog::Transport::Parcel
|
11
12
|
|
12
13
|
attr_reader :trace_count
|
13
14
|
|
@@ -22,7 +23,7 @@ module Datadog
|
|
22
23
|
end
|
23
24
|
|
24
25
|
# Traces request
|
25
|
-
class Request < Transport::Request
|
26
|
+
class Request < Datadog::Transport::Request
|
26
27
|
end
|
27
28
|
|
28
29
|
# Traces response
|
data/lib/ddtrace/utils/time.rb
CHANGED
@@ -1,16 +1,18 @@
|
|
1
|
+
# typed: true
|
1
2
|
module Datadog
|
2
3
|
module Utils
|
3
4
|
# Common database-related utility functions.
|
4
5
|
module Time
|
6
|
+
include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003)
|
7
|
+
|
5
8
|
module_function
|
6
9
|
|
7
|
-
# Current monotonic time
|
8
|
-
# Falls back to `now` if monotonic clock
|
9
|
-
# is not available.
|
10
|
+
# Current monotonic time
|
10
11
|
#
|
11
|
-
# @
|
12
|
-
|
13
|
-
|
12
|
+
# @param unit [Symbol] unit for the resulting value, same as ::Process#clock_gettime, defaults to :float_second
|
13
|
+
# @return [Numeric] timestamp in the requested unit, since some unspecified starting point
|
14
|
+
def get_time(unit = :float_second)
|
15
|
+
Process.clock_gettime(Process::CLOCK_MONOTONIC, unit)
|
14
16
|
end
|
15
17
|
|
16
18
|
# Current wall time.
|
@@ -38,6 +40,12 @@ module Datadog
|
|
38
40
|
after = get_time
|
39
41
|
after - before
|
40
42
|
end
|
43
|
+
|
44
|
+
def as_utc_epoch_ns(time)
|
45
|
+
# we use #to_r instead of #to_f because Float doesn't have enough precision to represent exact nanoseconds, see
|
46
|
+
# https://rubyapi.org/3.0/o/time#method-i-to_f
|
47
|
+
(time.to_r * 1_000_000_000).to_i
|
48
|
+
end
|
41
49
|
end
|
42
50
|
end
|
43
51
|
end
|
data/lib/ddtrace/utils.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
require 'ddtrace/utils/database'
|
2
3
|
require 'ddtrace/utils/forking'
|
3
4
|
|
@@ -11,10 +12,11 @@ module Datadog
|
|
11
12
|
# with the default one. Using the default prng, we could break code that
|
12
13
|
# would rely on srand/rand sequences.
|
13
14
|
|
14
|
-
# Return a
|
15
|
+
# Return a randomly generated integer, valid as a Span ID or Trace ID.
|
16
|
+
# This method is thread-safe and fork-safe.
|
15
17
|
def self.next_id
|
16
18
|
after_fork! { reset! }
|
17
|
-
id_rng.rand(Datadog::Span::RUBY_MAX_ID)
|
19
|
+
id_rng.rand(Datadog::Span::RUBY_MAX_ID) # TODO: This should never return zero
|
18
20
|
end
|
19
21
|
|
20
22
|
def self.id_rng
|
@@ -27,6 +29,14 @@ module Datadog
|
|
27
29
|
|
28
30
|
private_class_method :id_rng, :reset!
|
29
31
|
|
32
|
+
# Stringifies `value` and ensures the outcome is
|
33
|
+
# string is no longer than `size`.
|
34
|
+
# `omission` replaces the end of the output if
|
35
|
+
# `value.to_s` does not fit in `size`, to signify
|
36
|
+
# truncation.
|
37
|
+
#
|
38
|
+
# If `omission.size` is larger than `size`, the output
|
39
|
+
# will still be `omission.size` in length.
|
30
40
|
def self.truncate(value, size, omission = '...'.freeze)
|
31
41
|
string = value.to_s
|
32
42
|
|
@@ -43,6 +53,8 @@ module Datadog
|
|
43
53
|
string
|
44
54
|
end
|
45
55
|
|
56
|
+
# Ensure `str` is a valid UTF-8, ready to be
|
57
|
+
# sent through the tracer transport.
|
46
58
|
def self.utf8_encode(str, options = {})
|
47
59
|
str = str.to_s
|
48
60
|
|
data/lib/ddtrace/version.rb
CHANGED
data/lib/ddtrace/worker.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
require 'ddtrace/logger'
|
2
3
|
|
3
4
|
module Datadog
|
@@ -135,7 +136,7 @@ module Datadog
|
|
135
136
|
# rubocop:disable Lint/RescueException
|
136
137
|
rescue Exception => e
|
137
138
|
@error = e
|
138
|
-
Datadog.logger.debug("Worker thread error. Cause #{e.message} Location: #{e.backtrace.first}")
|
139
|
+
Datadog.logger.debug("Worker thread error. Cause #{e.message} Location: #{Array(e.backtrace).first}")
|
139
140
|
raise
|
140
141
|
end
|
141
142
|
end
|
data/lib/ddtrace/workers/loop.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: false
|
1
2
|
require 'ddtrace/logger'
|
2
3
|
require 'ddtrace/transport/http'
|
3
4
|
|
@@ -36,7 +37,7 @@ module Datadog
|
|
36
37
|
flush_traces(traces)
|
37
38
|
rescue StandardError => e
|
38
39
|
Datadog.logger.error(
|
39
|
-
"Error while writing traces: dropped #{traces.length} items. Cause: #{e} Location: #{e.backtrace.first}"
|
40
|
+
"Error while writing traces: dropped #{traces.length} items. Cause: #{e} Location: #{Array(e.backtrace).first}"
|
40
41
|
)
|
41
42
|
end
|
42
43
|
|
data/lib/ddtrace/workers.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
require 'time'
|
2
3
|
|
3
4
|
require 'ddtrace/workers/trace_writer'
|
@@ -58,7 +59,7 @@ module Datadog
|
|
58
59
|
# TODO[manu]: findout the reason and reschedule the send if it's not
|
59
60
|
# a fatal exception
|
60
61
|
Datadog.logger.error(
|
61
|
-
"Error during traces flush: dropped #{traces.length} items. Cause: #{e} Location: #{e.backtrace.first}"
|
62
|
+
"Error during traces flush: dropped #{traces.length} items. Cause: #{e} Location: #{Array(e.backtrace).first}"
|
62
63
|
)
|
63
64
|
end
|
64
65
|
end
|
data/lib/ddtrace/writer.rb
CHANGED
data/lib/ddtrace.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: strict
|
1
2
|
# During development, we load `ddtrace` by through `ddtrace.gemspec`,
|
2
3
|
# which in turn eager loads 'ddtrace/version'.
|
3
4
|
#
|
@@ -17,68 +18,35 @@ require 'ddtrace/metrics'
|
|
17
18
|
require 'ddtrace/auto_instrument_base'
|
18
19
|
require 'ddtrace/profiling'
|
19
20
|
|
21
|
+
require 'datadog/contrib'
|
22
|
+
require 'ddtrace/contrib/auto_instrument'
|
23
|
+
require 'ddtrace/contrib/extensions'
|
24
|
+
|
25
|
+
require 'ddtrace/opentelemetry/extensions'
|
26
|
+
|
20
27
|
# \Datadog global namespace that includes all tracing functionality for Tracer and Span classes.
|
21
28
|
module Datadog
|
22
29
|
extend Configuration
|
23
30
|
extend AutoInstrumentBase
|
24
31
|
|
25
|
-
# Load
|
26
|
-
require 'ddtrace/contrib/extensions'
|
32
|
+
# Load built-in Datadog integrations
|
27
33
|
extend Contrib::Extensions
|
34
|
+
# Load Contrib auto instrumentation
|
35
|
+
extend Contrib::AutoInstrument
|
36
|
+
# Load Contrib extension to global Datadog objects
|
37
|
+
Configuration::Settings.include Contrib::Extensions::Configuration::Settings
|
28
38
|
|
29
39
|
# Load and extend OpenTelemetry compatibility by default
|
30
|
-
require 'ddtrace/opentelemetry/extensions'
|
31
40
|
extend OpenTelemetry::Extensions
|
32
41
|
|
33
|
-
# Load and extend AutoInstrument
|
34
|
-
require 'ddtrace/contrib/auto_instrument'
|
35
|
-
extend Contrib::AutoInstrument
|
36
|
-
|
37
42
|
# Add shutdown hook:
|
38
43
|
# Ensures the tracer has an opportunity to flush traces
|
39
44
|
# and cleanup before terminating the process.
|
40
|
-
at_exit
|
45
|
+
at_exit do
|
46
|
+
if Interrupt === $! # rubocop:disable Style/SpecialGlobalVars is process terminating due to a ctrl+c or similar?
|
47
|
+
Datadog.send(:handle_interrupt_shutdown!)
|
48
|
+
else
|
49
|
+
Datadog.shutdown!
|
50
|
+
end
|
51
|
+
end
|
41
52
|
end
|
42
|
-
|
43
|
-
require 'ddtrace/contrib/action_cable/integration'
|
44
|
-
require 'ddtrace/contrib/action_pack/integration'
|
45
|
-
require 'ddtrace/contrib/action_view/integration'
|
46
|
-
require 'ddtrace/contrib/active_model_serializers/integration'
|
47
|
-
require 'ddtrace/contrib/active_record/integration'
|
48
|
-
require 'ddtrace/contrib/active_support/integration'
|
49
|
-
require 'ddtrace/contrib/aws/integration'
|
50
|
-
require 'ddtrace/contrib/concurrent_ruby/integration'
|
51
|
-
require 'ddtrace/contrib/dalli/integration'
|
52
|
-
require 'ddtrace/contrib/delayed_job/integration'
|
53
|
-
require 'ddtrace/contrib/elasticsearch/integration'
|
54
|
-
require 'ddtrace/contrib/ethon/integration'
|
55
|
-
require 'ddtrace/contrib/excon/integration'
|
56
|
-
require 'ddtrace/contrib/faraday/integration'
|
57
|
-
require 'ddtrace/contrib/grape/integration'
|
58
|
-
require 'ddtrace/contrib/graphql/integration'
|
59
|
-
require 'ddtrace/contrib/grpc/integration'
|
60
|
-
require 'ddtrace/contrib/http/integration'
|
61
|
-
require 'ddtrace/contrib/httpclient/integration'
|
62
|
-
require 'ddtrace/contrib/httprb/integration'
|
63
|
-
require 'ddtrace/contrib/integration'
|
64
|
-
require 'ddtrace/contrib/kafka/integration'
|
65
|
-
require 'ddtrace/contrib/lograge/integration'
|
66
|
-
require 'ddtrace/contrib/presto/integration'
|
67
|
-
require 'ddtrace/contrib/que/integration'
|
68
|
-
require 'ddtrace/contrib/mysql2/integration'
|
69
|
-
require 'ddtrace/contrib/mongodb/integration'
|
70
|
-
require 'ddtrace/contrib/qless/integration'
|
71
|
-
require 'ddtrace/contrib/racecar/integration'
|
72
|
-
require 'ddtrace/contrib/rack/integration'
|
73
|
-
require 'ddtrace/contrib/rails/integration'
|
74
|
-
require 'ddtrace/contrib/rake/integration'
|
75
|
-
require 'ddtrace/contrib/redis/integration'
|
76
|
-
require 'ddtrace/contrib/resque/integration'
|
77
|
-
require 'ddtrace/contrib/rest_client/integration'
|
78
|
-
require 'ddtrace/contrib/semantic_logger/integration'
|
79
|
-
require 'ddtrace/contrib/sequel/integration'
|
80
|
-
require 'ddtrace/contrib/shoryuken/integration'
|
81
|
-
require 'ddtrace/contrib/sidekiq/integration'
|
82
|
-
require 'ddtrace/contrib/sinatra/integration'
|
83
|
-
require 'ddtrace/contrib/sneakers/integration'
|
84
|
-
require 'ddtrace/contrib/sucker_punch/integration'
|