struct

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.

Source

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.

Source

Instance methods

fields
Source
measurement
Source
tag

Append or change tags associated with the point.

Source
tagged?

Checks if any tags are defined for the point.

Source
tags
Source
timestamp
Source
to_s(io)
Source

Nested types