Class: Influx::Point
- Inherits:
-
Object
- Object
- Influx::Point
- Defined in:
- lib/influx/point.rb
Instance Method Summary collapse
-
#initialize(measurement, tags: {}, fields: {}, time: Influx.now) ⇒ Point
constructor
A new instance of Point.
- #to_flux ⇒ Object
Constructor Details
Instance Method Details
#to_flux ⇒ Object
12 13 14 |
# File 'lib/influx/point.rb', line 12 def to_flux "#{@measurement},#{hash_to_flux(@tags)} #{hash_to_flux(@fields)} #{@time}" end |