Flux::Point
Inherits Struct < Value < Object
Model for InfluxDB data points.
TODO: make this generic over a NamedTuple of the associated fields. Currently
this causes issues elsewhere as you can not have an Array, Channel etc of
a generic type.
Constructors
new(measurement, timestamp = nil, tags = nil, **fields : **T) forall T
Creates a new data point that can be serialized for entry to InfluxDB.
Class methods
new!(measurement, timestamp = nil, tags = nil, **fields : **T) forall T
Creates a point from a set of nilable fields, discarding any that are nil.
Instance methods
fields
Sourcemeasurement
Sourcetags
Sourcetimestamp
Sourceto_s(io)
Source