Class: Datadog::CI::TestVisibility::Serializers::Span
- Defined in:
- lib/datadog/ci/test_visibility/serializers/span.rb
Constant Summary collapse
- CONTENT_FIELDS =
(%w[trace_id span_id parent_id] + Base::CONTENT_FIELDS).freeze
- CONTENT_MAP_SIZE =
calculate_content_map_size(CONTENT_FIELDS)
- REQUIRED_FIELDS =
(%w[trace_id span_id] + Base::REQUIRED_FIELDS).freeze
Constants inherited from Base
Base::MAXIMUM_DURATION_NANO, Base::MINIMUM_DURATION_NANO, Base::MINIMUM_TIMESTAMP_NANO
Instance Attribute Summary
Attributes inherited from Base
#meta, #options, #span, #trace
Instance Method Summary collapse
Methods inherited from Base
calculate_content_map_size, #duration, #error, #initialize, #metrics, #name, #parent_id, #resource, #runtime_id, #service, #span_id, #span_type, #start, #test_module_id, #test_session_id, #test_suite_id, #to_msgpack, #trace_id, #valid?, #validate!, #validation_errors, #version
Constructor Details
This class inherits a constructor from Datadog::CI::TestVisibility::Serializers::Base
Instance Method Details
#content_fields ⇒ Object
16 17 18 |
# File 'lib/datadog/ci/test_visibility/serializers/span.rb', line 16 def content_fields CONTENT_FIELDS end |
#content_map_size ⇒ Object
20 21 22 |
# File 'lib/datadog/ci/test_visibility/serializers/span.rb', line 20 def content_map_size CONTENT_MAP_SIZE end |
#event_type ⇒ Object
24 25 26 |
# File 'lib/datadog/ci/test_visibility/serializers/span.rb', line 24 def event_type "span" end |