Sha256: b287f984c435e1e8bf0f5504e03220a141ae56543a8c6bd53b1c035d71011123
Contents?: true
Size: 1016 Bytes
Versions: 4
Compression:
Stored size: 1016 Bytes
Contents
# frozen_string_literal: true require_relative "base" module Datadog module CI module TestVisibility module Serializers class Span < Base CONTENT_FIELDS = [ "trace_id", "span_id", "parent_id", "name", "resource", "service", "error", "start", "duration", "meta", "metrics", "type" => "span_type" ].freeze CONTENT_MAP_SIZE = calculate_content_map_size(CONTENT_FIELDS) REQUIRED_FIELDS = [ "trace_id", "span_id", "error", "name", "resource", "start", "duration" ].freeze def content_fields CONTENT_FIELDS end def content_map_size CONTENT_MAP_SIZE end def type "span" end private def required_fields REQUIRED_FIELDS end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems