Documentation
¶
Index ¶
- Constants
- type DDSProducer
- func (d *DDSProducer) Close() error
- func (d *DDSProducer) Connect() (err error)
- func (d *DDSProducer) Description() string
- func (d *DDSProducer) SampleConfig() string
- func (d *DDSProducer) SetSerializer(serializer serializers.Serializer)
- func (d *DDSProducer) Write(metrics []telegraf.Metric) (err error)
- type Field
- type FieldValueUnion
- type Metric
- type Tag
Constants ¶
View Source
const ( FIELD_DOUBLE = 0 FIELD_INT = 1 FIELD_UINT = 2 FIELD_STRING = 3 FIELD_BOOL = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DDSProducer ¶
type DDSProducer struct { // DDS Domain ID Configuration DomainId string `toml:"domain_id"` // contains filtered or unexported fields }
func (*DDSProducer) Close ¶
func (d *DDSProducer) Close() error
func (*DDSProducer) Connect ¶
func (d *DDSProducer) Connect() (err error)
func (*DDSProducer) Description ¶
func (d *DDSProducer) Description() string
func (*DDSProducer) SampleConfig ¶
func (d *DDSProducer) SampleConfig() string
func (*DDSProducer) SetSerializer ¶
func (d *DDSProducer) SetSerializer(serializer serializers.Serializer)
type Field ¶
type Field struct { Key string `json:"key"` Kind int `json:"kind"` Value FieldValueUnion `json:"value"` }
type FieldValueUnion ¶
Click to show internal directories.
Click to hide internal directories.