Class: Appdash::Event::SpanName

Inherits:
Base
  • Object
show all
Defined in:
lib/appdash/event/span_name.rb

Overview

SpanName is an event which sets a span’s name.

Instance Attribute Summary

Attributes inherited from Base

#attrs, #schema

Instance Method Summary collapse

Methods inherited from Base

#to_a

Constructor Details

#initialize(name) ⇒ SpanName

Returns a new instance of SpanName.

Parameters:

  • name (String)

    the event span name



10
11
12
# File 'lib/appdash/event/span_name.rb', line 10

def initialize(name)
  super("name", name: name)
end