Class: Flor::Trace

Inherits:
FlorModel show all
Defined in:
lib/flor/unit/models/trace.rb

Instance Method Summary collapse

Methods inherited from FlorModel

#data, #execution, from_h, #node, #payload, #refresh, #storage, #to_h, #unit

Instance Method Details

#feiObject

create_table :flor_traces do

primary_key :id, type: :Integer
String :domain, null: false
String :exid, null: false
String :nid, null: true
String :tracer, null: false # 'executor', 'trace'
String :text, null: false # 'blah blah blah'
String :ctime, null: false
String :cunit

index :exid

end



21
# File 'lib/flor/unit/models/trace.rb', line 21

def fei; [ exid, nid ].join('-') rescue nil; end