Sha256: 3a27703676e0dd2b782594d2a5668e3f3e317904b175008cea9a018cbd9ed64b

Contents?: true

Size: 462 Bytes

Versions: 12

Compression:

Stored size: 462 Bytes

Contents

module Skylight
  module Messages
    class Span
      include Beefcake::Message

      required :event,       Event,      1
      repeated :annotations, Annotation, 2
      required :started_at,  :uint32,    3
      optional :duration,    :uint32,    4
      optional :children,    :uint32,    5

      # Bit of a hack
      attr_accessor :absolute_time

      # Optimization
      def initialize(attrs = nil)
        super if attrs
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
skylight-0.1.5.alpha2 lib/skylight/messages/span.rb
skylight-0.1.5.alpha1 lib/skylight/messages/span.rb
skylight-0.1.4 lib/skylight/messages/span.rb
skylight-0.1.4.alpha3 lib/skylight/messages/span.rb
skylight-0.1.4.alpha2 lib/skylight/messages/span.rb
skylight-0.1.4.alpha1 lib/skylight/messages/span.rb
skylight-0.1.3 lib/skylight/messages/span.rb
skylight-0.1.2 lib/skylight/messages/span.rb
skylight-0.1.1 lib/skylight/messages/span.rb
skylight-0.1.0 lib/skylight/messages/span.rb
skylight-0.1.0.alpha2 lib/skylight/messages/span.rb
skylight-0.1.0.alpha1 lib/skylight/messages/span.rb