Class: Datadog::Profiling::Flush
- Inherits:
-
Object
- Object
- Datadog::Profiling::Flush
- Defined in:
- lib/datadog/profiling/flush.rb
Overview
Entity class used to represent metadata for a given profile
Instance Attribute Summary collapse
-
#code_provenance_data ⇒ Object
readonly
Returns the value of attribute code_provenance_data.
-
#code_provenance_file_name ⇒ Object
readonly
Returns the value of attribute code_provenance_file_name.
-
#finish ⇒ Object
readonly
Returns the value of attribute finish.
-
#pprof_data ⇒ Object
readonly
Returns the value of attribute pprof_data.
-
#pprof_file_name ⇒ Object
readonly
Returns the value of attribute pprof_file_name.
-
#start ⇒ Object
readonly
Returns the value of attribute start.
-
#tags_as_array ⇒ Object
readonly
Returns the value of attribute tags_as_array.
Instance Method Summary collapse
-
#initialize(start:, finish:, pprof_file_name:, pprof_data:, code_provenance_file_name:, code_provenance_data:, tags_as_array:) ⇒ Flush
constructor
A new instance of Flush.
Constructor Details
#initialize(start:, finish:, pprof_file_name:, pprof_data:, code_provenance_file_name:, code_provenance_data:, tags_as_array:) ⇒ Flush
Returns a new instance of Flush.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/datadog/profiling/flush.rb', line 17 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 = end |
Instance Attribute Details
#code_provenance_data ⇒ Object (readonly)
Returns the value of attribute code_provenance_data.
8 9 10 |
# File 'lib/datadog/profiling/flush.rb', line 8 def code_provenance_data @code_provenance_data end |
#code_provenance_file_name ⇒ Object (readonly)
Returns the value of attribute code_provenance_file_name.
8 9 10 |
# File 'lib/datadog/profiling/flush.rb', line 8 def code_provenance_file_name @code_provenance_file_name end |
#finish ⇒ Object (readonly)
Returns the value of attribute finish.
8 9 10 |
# File 'lib/datadog/profiling/flush.rb', line 8 def finish @finish end |
#pprof_data ⇒ Object (readonly)
Returns the value of attribute pprof_data.
8 9 10 |
# File 'lib/datadog/profiling/flush.rb', line 8 def pprof_data @pprof_data end |
#pprof_file_name ⇒ Object (readonly)
Returns the value of attribute pprof_file_name.
8 9 10 |
# File 'lib/datadog/profiling/flush.rb', line 8 def pprof_file_name @pprof_file_name end |
#start ⇒ Object (readonly)
Returns the value of attribute start.
8 9 10 |
# File 'lib/datadog/profiling/flush.rb', line 8 def start @start end |
#tags_as_array ⇒ Object (readonly)
Returns the value of attribute tags_as_array.
8 9 10 |
# File 'lib/datadog/profiling/flush.rb', line 8 def @tags_as_array end |