telegraf/plugins/outputs/nsq
Sven Rebhan 61902ba15a
docs(outputs): Add plugin metadata and update description (#16061)
2024-10-28 18:00:22 +01:00
..
README.md docs(outputs): Add plugin metadata and update description (#16061) 2024-10-28 18:00:22 +01:00
nsq.go chore: Fix linter findings for errorlint (part3) (#12704) 2023-02-22 13:38:16 +01:00
nsq_test.go chore(serializers): Add new-style framework and migrate influx (#12920) 2023-04-11 21:52:42 +02:00
sample.conf chore(outputs): migrate sample configs into separate files (#11131) 2022-05-18 11:30:06 -05:00

README.md

NSQ Output Plugin

This plugin writes metrics to the given topic of a NSQ instance as a producer in one of the supported data formats.

Telegraf v0.2.1 🏷️ messaging 💻 all

Global configuration options

In addition to the plugin-specific configuration settings, plugins support additional global and plugin configuration settings. These settings are used to modify metrics, tags, and field or create aliases and configure ordering, etc. See the CONFIGURATION.md for more details.

Configuration

# Send telegraf measurements to NSQD
[[outputs.nsq]]
  ## Location of nsqd instance listening on TCP
  server = "localhost:4150"
  ## NSQ topic for producer messages
  topic = "telegraf"

  ## Data format to output.
  ## Each data format has its own unique set of configuration options, read
  ## more about them here:
  ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
  data_format = "influx"