Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Semantic ¶
type Semantic int
const ( Undefined Semantic = iota Default Quantity // TODO(zoomoid): we want to add labels for fields that are declared as either totalCounters or deltaCounters // such that the ingestor can take all those fields and insert them into InfluxDB as those are properly // "measureable" TotalCounter DeltaCounter Identifier Flags List SNMPCounter SNMPGauge )
TODO(zoomoid): this has ambiguous behaviour for the case of explicit "Undefined" and implicit undefined (i.e. not part of the switch), where "" and "unassigned" are two different literals
func FromNumber ¶
func SupportedSemantics ¶
func SupportedSemantics() []Semantic
func (Semantic) MarshalText ¶
func (Semantic) String ¶
TODO(zoomoid): this has ambiguous behaviour for the case of explicit "Undefined" and implicit undefined (i.e. not part of the switch), where "" and "unassigned" are two different literals
func (*Semantic) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.