File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ CORE_WITH_LIBDATADOG_API = [
3232 'spec/datadog/open_feature_spec.rb' ,
3333] . freeze
3434
35- DI_WITH_EXT = %w(
35+ DI_WITH_EXT = %w[
3636 spec/datadog/di/ext/*_spec.rb
3737 spec/datadog/di/ext/**/*_spec.rb
38- )
38+ ]
3939
4040# Data Streams Monitoring (DSM) requires libdatadog_api for DDSketch
4141# Add new instrumentation libraries here as they gain DSM support
Original file line number Diff line number Diff line change @@ -3,5 +3,8 @@ module Datadog
33 def self.component : () -> Component?
44 def self.enabled? : () -> bool
55
6+ def self.all_iseqs : () -> Array[RubyVM::InstructionSequence]
7+ def self.file_iseqs : () -> Array[RubyVM::InstructionSequence]
8+
69 end
710end
Original file line number Diff line number Diff line change 2828 # that we have a reasonable set of files from dd-trace-rb in the iseqs.
2929 it 'returns iseqs for loaded files' do
3030 datadog_iseqs = file_iseqs . select do |iseq |
31- iseq . absolute_path =~ %r, lib/datadog/,
31+ iseq . absolute_path =~ %r{ lib/datadog/}
3232 end
3333 paths = datadog_iseqs . map ( &:absolute_path ) . uniq
3434
You can’t perform that action at this time.
0 commit comments