Module: Zipkin::Encoders::JsonEncoder::Timestamp
- Defined in:
- lib/zipkin/encoders/json_encoder/timestamp.rb
Class Method Summary collapse
Class Method Details
.create(time) ⇒ Object
7 8 9 |
# File 'lib/zipkin/encoders/json_encoder/timestamp.rb', line 7 def self.create(time) (time.to_f * 1_000_000).to_i end |