nsq

package
v1.21.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: MIT Imports: 5 Imported by: 181

README

NSQ Output Plugin

This plugin writes to a specified NSQD instance, usually local to the producer. It requires a server name and a topic name.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NSQ

type NSQ struct {
	Server string
	Topic  string
	Log    telegraf.Logger `toml:"-"`
	// contains filtered or unexported fields
}

func (*NSQ) Close

func (n *NSQ) Close() error

func (*NSQ) Connect

func (n *NSQ) Connect() error

func (*NSQ) Description

func (n *NSQ) Description() string

func (*NSQ) SampleConfig

func (n *NSQ) SampleConfig() string

func (*NSQ) SetSerializer added in v1.14.0

func (n *NSQ) SetSerializer(serializer serializers.Serializer)

func (*NSQ) Write

func (n *NSQ) Write(metrics []telegraf.Metric) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL