Class: Datadog::AppSec::Utils::TraceOperation
- Inherits:
-
Object
- Object
- Datadog::AppSec::Utils::TraceOperation
- Defined in:
- lib/datadog/appsec/utils/trace_operation.rb
Overview
Utility class to to AppSec-specific trace operations
Class Method Summary collapse
Class Method Details
.appsec_standalone_reject?(trace) ⇒ Boolean
8 9 10 11 |
# File 'lib/datadog/appsec/utils/trace_operation.rb', line 8 def self.appsec_standalone_reject?(trace) Datadog.configuration.appsec.standalone.enabled && (trace.nil? || trace.get_tag(Datadog::AppSec::Ext::TAG_DISTRIBUTED_APPSEC_EVENT) != '1') end |