Module: Datadog
- Extended by:
- Augmentation, Configuration, Contrib::Extensions
- Defined in:
- lib/ddtrace.rb,
lib/ddtrace/pin.rb,
lib/ddtrace/span.rb,
lib/ddtrace/error.rb,
lib/ddtrace/utils.rb,
lib/ddtrace/buffer.rb,
lib/ddtrace/logger.rb,
lib/ddtrace/monkey.rb,
lib/ddtrace/tracer.rb,
lib/ddtrace/writer.rb,
lib/ddtrace/context.rb,
lib/ddtrace/ext/net.rb,
lib/ddtrace/ext/sql.rb,
lib/ddtrace/metrics.rb,
lib/ddtrace/patcher.rb,
lib/ddtrace/sampler.rb,
lib/ddtrace/version.rb,
lib/ddtrace/workers.rb,
lib/ddtrace/encoding.rb,
lib/ddtrace/ext/http.rb,
lib/ddtrace/pipeline.rb,
lib/ddtrace/provider.rb,
lib/ddtrace/analytics.rb,
lib/ddtrace/ext/errors.rb,
lib/ddtrace/opentracer.rb,
lib/ddtrace/runtime/gc.rb,
lib/ddtrace/utils/time.rb,
lib/ddtrace/correlation.rb,
lib/ddtrace/environment.rb,
lib/ddtrace/ext/metrics.rb,
lib/ddtrace/ext/runtime.rb,
lib/ddtrace/sync_writer.rb,
lib/ddtrace/augmentation.rb,
lib/ddtrace/ext/priority.rb,
lib/ddtrace/configuration.rb,
lib/ddtrace/context_flush.rb,
lib/ddtrace/ext/analytics.rb,
lib/ddtrace/ext/app_types.rb,
lib/ddtrace/ext/transport.rb,
lib/ddtrace/forced_tracing.rb,
lib/ddtrace/runtime/cgroup.rb,
lib/ddtrace/runtime/socket.rb,
lib/ddtrace/transport/http.rb,
lib/ddtrace/utils/database.rb,
lib/ddtrace/contrib/aws/ext.rb,
lib/ddtrace/contrib/patcher.rb,
lib/ddtrace/ext/diagnostics.rb,
lib/ddtrace/ext/distributed.rb,
lib/ddtrace/opentracer/span.rb,
lib/ddtrace/runtime/metrics.rb,
lib/ddtrace/contrib/grpc/ext.rb,
lib/ddtrace/contrib/http/ext.rb,
lib/ddtrace/contrib/rack/ext.rb,
lib/ddtrace/contrib/rake/ext.rb,
lib/ddtrace/contrib/registry.rb,
lib/ddtrace/opentracer/scope.rb,
lib/ddtrace/runtime/identity.rb,
lib/ddtrace/transport/parcel.rb,
lib/ddtrace/transport/traces.rb,
lib/ddtrace/augmentation/shim.rb,
lib/ddtrace/contrib/analytics.rb,
lib/ddtrace/contrib/dalli/ext.rb,
lib/ddtrace/contrib/ethon/ext.rb,
lib/ddtrace/contrib/excon/ext.rb,
lib/ddtrace/contrib/grape/ext.rb,
lib/ddtrace/contrib/patchable.rb,
lib/ddtrace/contrib/rails/ext.rb,
lib/ddtrace/contrib/redis/ext.rb,
lib/ddtrace/opentracer/tracer.rb,
lib/ddtrace/quantization/hash.rb,
lib/ddtrace/quantization/http.rb,
lib/ddtrace/runtime/container.rb,
lib/ddtrace/transport/request.rb,
lib/ddtrace/configuration/base.rb,
lib/ddtrace/contrib/extensions.rb,
lib/ddtrace/contrib/mysql2/ext.rb,
lib/ddtrace/contrib/redis/tags.rb,
lib/ddtrace/contrib/resque/ext.rb,
lib/ddtrace/contrib/sequel/ext.rb,
lib/ddtrace/diagnostics/health.rb,
lib/ddtrace/ext/forced_tracing.rb,
lib/ddtrace/ext/manual_tracing.rb,
lib/ddtrace/opentracer/carrier.rb,
lib/ddtrace/transport/http/api.rb,
lib/ddtrace/transport/http/env.rb,
lib/ddtrace/transport/response.rb,
lib/ddtrace/contrib/aws/patcher.rb,
lib/ddtrace/contrib/faraday/ext.rb,
lib/ddtrace/contrib/graphql/ext.rb,
lib/ddtrace/contrib/integration.rb,
lib/ddtrace/contrib/mongodb/ext.rb,
lib/ddtrace/contrib/racecar/ext.rb,
lib/ddtrace/contrib/rails/utils.rb,
lib/ddtrace/contrib/sidekiq/ext.rb,
lib/ddtrace/contrib/sinatra/env.rb,
lib/ddtrace/contrib/sinatra/ext.rb,
lib/ddtrace/runtime/class_count.rb,
lib/ddtrace/configuration/option.rb,
lib/ddtrace/contrib/aws/services.rb,
lib/ddtrace/contrib/configurable.rb,
lib/ddtrace/contrib/grpc/patcher.rb,
lib/ddtrace/contrib/http/patcher.rb,
lib/ddtrace/contrib/rack/patcher.rb,
lib/ddtrace/contrib/rake/patcher.rb,
lib/ddtrace/contrib/registerable.rb,
lib/ddtrace/contrib/sequel/utils.rb,
lib/ddtrace/pipeline/span_filter.rb,
lib/ddtrace/runtime/object_space.rb,
lib/ddtrace/runtime/thread_count.rb,
lib/ddtrace/transport/statistics.rb,
lib/ddtrace/configuration/options.rb,
lib/ddtrace/contrib/dalli/patcher.rb,
lib/ddtrace/contrib/ethon/patcher.rb,
lib/ddtrace/contrib/excon/patcher.rb,
lib/ddtrace/contrib/grape/patcher.rb,
lib/ddtrace/contrib/racecar/event.rb,
lib/ddtrace/contrib/rails/patcher.rb,
lib/ddtrace/contrib/rails/railtie.rb,
lib/ddtrace/contrib/redis/patcher.rb,
lib/ddtrace/contrib/shoryuken/ext.rb,
lib/ddtrace/opentracer/propagator.rb,
lib/ddtrace/transport/http/client.rb,
lib/ddtrace/transport/http/traces.rb,
lib/ddtrace/configuration/settings.rb,
lib/ddtrace/contrib/dalli/quantize.rb,
lib/ddtrace/contrib/grape/endpoint.rb,
lib/ddtrace/contrib/mysql2/patcher.rb,
lib/ddtrace/contrib/racecar/events.rb,
lib/ddtrace/contrib/redis/quantize.rb,
lib/ddtrace/contrib/resque/patcher.rb,
lib/ddtrace/contrib/sequel/dataset.rb,
lib/ddtrace/contrib/sequel/patcher.rb,
lib/ddtrace/contrib/sinatra/tracer.rb,
lib/ddtrace/transport/http/api/map.rb,
lib/ddtrace/transport/http/builder.rb,
lib/ddtrace/configuration/pin_setup.rb,
lib/ddtrace/contrib/action_pack/ext.rb,
lib/ddtrace/contrib/action_view/ext.rb,
lib/ddtrace/contrib/aws/integration.rb,
lib/ddtrace/contrib/delayed_job/ext.rb,
lib/ddtrace/contrib/faraday/patcher.rb,
lib/ddtrace/contrib/graphql/patcher.rb,
lib/ddtrace/contrib/mongodb/parsers.rb,
lib/ddtrace/contrib/mongodb/patcher.rb,
lib/ddtrace/contrib/racecar/patcher.rb,
lib/ddtrace/contrib/rails/framework.rb,
lib/ddtrace/contrib/rest_client/ext.rb,
lib/ddtrace/contrib/sequel/database.rb,
lib/ddtrace/contrib/sidekiq/patcher.rb,
lib/ddtrace/contrib/sidekiq/tracing.rb,
lib/ddtrace/contrib/sinatra/headers.rb,
lib/ddtrace/contrib/sinatra/patcher.rb,
lib/ddtrace/opentracer/span_context.rb,
lib/ddtrace/pipeline/span_processor.rb,
lib/ddtrace/transport/http/api/spec.rb,
lib/ddtrace/transport/http/response.rb,
lib/ddtrace/configuration/option_set.rb,
lib/ddtrace/contrib/ethon/easy_patch.rb,
lib/ddtrace/contrib/excon/middleware.rb,
lib/ddtrace/contrib/grpc/integration.rb,
lib/ddtrace/contrib/http/integration.rb,
lib/ddtrace/contrib/rack/integration.rb,
lib/ddtrace/contrib/rack/middlewares.rb,
lib/ddtrace/contrib/rake/integration.rb,
lib/ddtrace/contrib/shoryuken/tracer.rb,
lib/ddtrace/contrib/sucker_punch/ext.rb,
lib/ddtrace/opentracer/global_tracer.rb,
lib/ddtrace/opentracer/scope_manager.rb,
lib/ddtrace/contrib/action_pack/utils.rb,
lib/ddtrace/contrib/action_view/utils.rb,
lib/ddtrace/contrib/active_record/ext.rb,
lib/ddtrace/contrib/dalli/integration.rb,
lib/ddtrace/contrib/elasticsearch/ext.rb,
lib/ddtrace/contrib/ethon/integration.rb,
lib/ddtrace/contrib/ethon/multi_patch.rb,
lib/ddtrace/contrib/excon/integration.rb,
lib/ddtrace/contrib/grape/integration.rb,
lib/ddtrace/contrib/rails/integration.rb,
lib/ddtrace/contrib/rails/middlewares.rb,
lib/ddtrace/contrib/redis/integration.rb,
lib/ddtrace/contrib/resque/resque_job.rb,
lib/ddtrace/contrib/shoryuken/patcher.rb,
lib/ddtrace/transport/http/statistics.rb,
lib/ddtrace/contrib/active_support/ext.rb,
lib/ddtrace/contrib/aws/parsed_context.rb,
lib/ddtrace/contrib/delayed_job/plugin.rb,
lib/ddtrace/contrib/faraday/middleware.rb,
lib/ddtrace/contrib/mysql2/integration.rb,
lib/ddtrace/contrib/rack/request_queue.rb,
lib/ddtrace/contrib/resque/integration.rb,
lib/ddtrace/contrib/sequel/integration.rb,
lib/ddtrace/opentracer/rack_propagator.rb,
lib/ddtrace/augmentation/method_wrapper.rb,
lib/ddtrace/contrib/action_pack/patcher.rb,
lib/ddtrace/contrib/action_view/patcher.rb,
lib/ddtrace/contrib/active_record/event.rb,
lib/ddtrace/contrib/active_record/utils.rb,
lib/ddtrace/contrib/aws/instrumentation.rb,
lib/ddtrace/contrib/concurrent_ruby/ext.rb,
lib/ddtrace/contrib/delayed_job/patcher.rb,
lib/ddtrace/contrib/faraday/integration.rb,
lib/ddtrace/contrib/graphql/integration.rb,
lib/ddtrace/contrib/mongodb/integration.rb,
lib/ddtrace/contrib/mongodb/subscribers.rb,
lib/ddtrace/contrib/racecar/integration.rb,
lib/ddtrace/contrib/rest_client/patcher.rb,
lib/ddtrace/contrib/sidekiq/integration.rb,
lib/ddtrace/contrib/sinatra/integration.rb,
lib/ddtrace/propagation/grpc_propagator.rb,
lib/ddtrace/propagation/http_propagator.rb,
lib/ddtrace/transport/http/adapters/net.rb,
lib/ddtrace/transport/http/api/endpoint.rb,
lib/ddtrace/transport/http/api/instance.rb,
lib/ddtrace/augmentation/method_wrapping.rb,
lib/ddtrace/contrib/active_record/events.rb,
lib/ddtrace/contrib/faraday/rack_builder.rb,
lib/ddtrace/contrib/http/circuit_breaker.rb,
lib/ddtrace/contrib/http/instrumentation.rb,
lib/ddtrace/contrib/racecar/events/batch.rb,
lib/ddtrace/contrib/rake/instrumentation.rb,
lib/ddtrace/contrib/sucker_punch/patcher.rb,
lib/ddtrace/opentracer/binary_propagator.rb,
lib/ddtrace/transport/http/adapters/test.rb,
lib/ddtrace/transport/http/api/fallbacks.rb,
lib/ddtrace/contrib/active_record/patcher.rb,
lib/ddtrace/contrib/dalli/instrumentation.rb,
lib/ddtrace/contrib/elasticsearch/patcher.rb,
lib/ddtrace/contrib/grape/instrumentation.rb,
lib/ddtrace/contrib/shoryuken/integration.rb,
lib/ddtrace/contrib/sidekiq/client_tracer.rb,
lib/ddtrace/contrib/sidekiq/server_tracer.rb,
lib/ddtrace/opentracer/thread_local_scope.rb,
lib/ddtrace/contrib/active_support/patcher.rb,
lib/ddtrace/contrib/configuration/resolver.rb,
lib/ddtrace/contrib/configuration/settings.rb,
lib/ddtrace/contrib/elasticsearch/quantize.rb,
lib/ddtrace/contrib/mysql2/instrumentation.rb,
lib/ddtrace/contrib/racecar/events/message.rb,
lib/ddtrace/distributed_tracing/headers/b3.rb,
lib/ddtrace/opentracer/distributed_headers.rb,
lib/ddtrace/opentracer/text_map_propagator.rb,
lib/ddtrace/configuration/option_definition.rb,
lib/ddtrace/contrib/action_pack/integration.rb,
lib/ddtrace/contrib/action_view/integration.rb,
lib/ddtrace/contrib/concurrent_ruby/patcher.rb,
lib/ddtrace/contrib/delayed_job/integration.rb,
lib/ddtrace/contrib/mongodb/instrumentation.rb,
lib/ddtrace/contrib/rest_client/integration.rb,
lib/ddtrace/opentracer/span_context_factory.rb,
lib/ddtrace/contrib/active_record/events/sql.rb,
lib/ddtrace/contrib/grpc/datadog_interceptor.rb,
lib/ddtrace/contrib/sucker_punch/integration.rb,
lib/ddtrace/transport/http/adapters/registry.rb,
lib/ddtrace/configuration/dependency_resolver.rb,
lib/ddtrace/contrib/active_record/integration.rb,
lib/ddtrace/contrib/elasticsearch/integration.rb,
lib/ddtrace/contrib/rest_client/request_patch.rb,
lib/ddtrace/contrib/sinatra/tracer_middleware.rb,
lib/ddtrace/contrib/active_support/cache/redis.rb,
lib/ddtrace/contrib/active_support/integration.rb,
lib/ddtrace/contrib/aws/configuration/settings.rb,
lib/ddtrace/configuration/option_definition_set.rb,
lib/ddtrace/contrib/concurrent_ruby/integration.rb,
lib/ddtrace/contrib/grpc/configuration/settings.rb,
lib/ddtrace/contrib/grpc/intercept_with_datadog.rb,
lib/ddtrace/contrib/http/configuration/settings.rb,
lib/ddtrace/contrib/rack/configuration/settings.rb,
lib/ddtrace/contrib/rake/configuration/settings.rb,
lib/ddtrace/distributed_tracing/headers/datadog.rb,
lib/ddtrace/distributed_tracing/headers/headers.rb,
lib/ddtrace/distributed_tracing/headers/helpers.rb,
lib/ddtrace/transport/http/adapters/unix_socket.rb,
lib/ddtrace/contrib/active_model_serializers/ext.rb,
lib/ddtrace/contrib/active_support/cache/patcher.rb,
lib/ddtrace/contrib/concurrent_ruby/future_patch.rb,
lib/ddtrace/contrib/dalli/configuration/settings.rb,
lib/ddtrace/contrib/ethon/configuration/settings.rb,
lib/ddtrace/contrib/excon/configuration/settings.rb,
lib/ddtrace/contrib/grape/configuration/settings.rb,
lib/ddtrace/contrib/rails/configuration/settings.rb,
lib/ddtrace/contrib/redis/configuration/settings.rb,
lib/ddtrace/contrib/sucker_punch/instrumentation.rb,
lib/ddtrace/contrib/mysql2/configuration/settings.rb,
lib/ddtrace/contrib/resque/configuration/settings.rb,
lib/ddtrace/contrib/sequel/configuration/settings.rb,
lib/ddtrace/distributed_tracing/headers/b3_single.rb,
lib/ddtrace/opentracer/thread_local_scope_manager.rb,
lib/ddtrace/contrib/active_model_serializers/event.rb,
lib/ddtrace/contrib/faraday/configuration/settings.rb,
lib/ddtrace/contrib/graphql/configuration/settings.rb,
lib/ddtrace/contrib/mongodb/configuration/settings.rb,
lib/ddtrace/contrib/racecar/configuration/settings.rb,
lib/ddtrace/contrib/sidekiq/configuration/settings.rb,
lib/ddtrace/contrib/sinatra/configuration/settings.rb,
lib/ddtrace/contrib/sucker_punch/exception_handler.rb,
lib/ddtrace/contrib/active_model_serializers/events.rb,
lib/ddtrace/contrib/grpc/datadog_interceptor/client.rb,
lib/ddtrace/contrib/grpc/datadog_interceptor/server.rb,
lib/ddtrace/contrib/active_model_serializers/patcher.rb,
lib/ddtrace/contrib/shoryuken/configuration/settings.rb,
lib/ddtrace/contrib/action_pack/configuration/settings.rb,
lib/ddtrace/contrib/action_view/configuration/settings.rb,
lib/ddtrace/contrib/active_record/events/instantiation.rb,
lib/ddtrace/contrib/active_support/notifications/event.rb,
lib/ddtrace/contrib/delayed_job/configuration/settings.rb,
lib/ddtrace/contrib/rest_client/configuration/settings.rb,
lib/ddtrace/contrib/sucker_punch/configuration/settings.rb,
lib/ddtrace/contrib/active_model_serializers/integration.rb,
lib/ddtrace/contrib/active_record/configuration/resolver.rb,
lib/ddtrace/contrib/active_record/configuration/settings.rb,
lib/ddtrace/contrib/active_support/cache/instrumentation.rb,
lib/ddtrace/contrib/elasticsearch/configuration/settings.rb,
lib/ddtrace/contrib/action_pack/action_controller/patcher.rb,
lib/ddtrace/contrib/active_support/configuration/settings.rb,
lib/ddtrace/vendor/active_record/connection_specification.rb,
lib/ddtrace/contrib/active_model_serializers/events/render.rb,
lib/ddtrace/contrib/concurrent_ruby/configuration/settings.rb,
lib/ddtrace/contrib/active_support/notifications/subscriber.rb,
lib/ddtrace/contrib/active_model_serializers/events/serialize.rb,
lib/ddtrace/contrib/active_support/notifications/subscription.rb,
lib/ddtrace/contrib/action_view/instrumentation/partial_renderer.rb,
lib/ddtrace/contrib/action_pack/action_controller/instrumentation.rb,
lib/ddtrace/contrib/action_view/instrumentation/template_renderer.rb,
lib/ddtrace/contrib/active_model_serializers/configuration/settings.rb,
lib/ddtrace/contrib/concurrent_ruby/context_composite_executor_service.rb
Overview
NOTE: This code is copied directly from ActiveRecord.
Its purpose is to resolve connection information.
It exists here only because it doesn't exist in Rails 3.2.
When support for Rails 3.2 is dropped, this can be removed.
Defined Under Namespace
Modules: Analytics, Augmentation, Configuration, Contrib, Correlation, DeprecatedPin, Diagnostics, DistributedTracing, Encoding, Environment, Ext, ForcedTracing, GRPCPropagator, HTTPPropagator, MethodWrapping, Monkey, OpenTracer, Patcher, Pipeline, Quantization, Runtime, Transport, Utils, VERSION, Vendor, Workers Classes: AllSampler, Context, ContextFlush, DefaultContextProvider, Error, Logger, MethodWrapper, Metrics, Pin, PrioritySampler, Railtie, RateByServiceSampler, RateSampler, Sampler, Shim, Span, SyncWriter, ThreadLocalContext, TraceBuffer, Tracer, Writer
Constant Summary collapse
- LOG_PREFIX =
'ddtrace'.freeze
Instance Attribute Summary
Attributes included from Configuration
Method Summary
Methods included from Augmentation
Methods included from Configuration
configure, runtime_metrics, tracer