Sha256: 9fa1ef6734a3aa81dc606543f3337a94c2b56f08576e0354e10efcc8fa41048a

Contents?: true

Size: 999 Bytes

Versions: 12

Compression:

Stored size: 999 Bytes

Contents

# typed: false

module Datadog
  module Profiling
    # Represents a collection of events of a specific type being flushed.
    EventGroup = Struct.new(:event_class, :events)

    # Entity class used to represent metadata for a given profile
    class Flush
      attr_reader \
        :start,
        :finish,
        :pprof_file_name,
        :pprof_data, # gzipped pprof bytes
        :code_provenance_file_name,
        :code_provenance_data, # gzipped json bytes
        :tags_as_array

      def initialize(
        start:,
        finish:,
        pprof_file_name:,
        pprof_data:,
        code_provenance_file_name:,
        code_provenance_data:,
        tags_as_array:
      )
        @start = start
        @finish = finish
        @pprof_file_name = pprof_file_name
        @pprof_data = pprof_data
        @code_provenance_file_name = code_provenance_file_name
        @code_provenance_data = code_provenance_data
        @tags_as_array = tags_as_array
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ddtrace-1.9.0 lib/datadog/profiling/flush.rb
ddtrace-1.8.0 lib/datadog/profiling/flush.rb
ddtrace-1.7.0 lib/datadog/profiling/flush.rb
ddtrace-1.6.1 lib/datadog/profiling/flush.rb
ddtrace-1.6.0 lib/datadog/profiling/flush.rb
ddtrace-1.5.2 lib/datadog/profiling/flush.rb
ddtrace-1.5.1 lib/datadog/profiling/flush.rb
ddtrace-1.5.0 lib/datadog/profiling/flush.rb
ddtrace-1.4.2 lib/datadog/profiling/flush.rb
ddtrace-1.4.1 lib/datadog/profiling/flush.rb
ddtrace-1.4.0 lib/datadog/profiling/flush.rb
ddtrace-1.3.0 lib/datadog/profiling/flush.rb