docs-v2/content/telegraf/v1/output-plugins/stomp/_index.md

2.3 KiB

description menu tags introduced os_support related
Telegraf plugin for sending metrics to ActiveMQ STOMP
telegraf_v1_ref
parent name identifier
output_plugins_reference ActiveMQ STOMP output-stomp
ActiveMQ STOMP
output-plugins
configuration
messaging
v1.24.0 freebsd, linux, macos, solaris, windows
/telegraf/v1/configure_plugins/
https://github.com/influxdata/telegraf/tree/v1.36.1/plugins/outputs/stomp/README.md, ActiveMQ STOMP Plugin Source

ActiveMQ STOMP Output Plugin

This plugin writes metrics to an Active MQ Broker for STOMP but also supports Amazon MQ brokers. Metrics can be written in one of the supported data formats.

Introduced in: Telegraf v1.24.0 Tags: messaging OS support: 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.

Secret-store support

This plugin supports secrets from secret-stores for the username and password option. See the secret-store documentation for more details on how to use them.

Configuration

# Configuration for active mq with stomp protocol to send metrics to
[[outputs.stomp]]
  host = "localhost:61613"

  ## Queue name for producer messages
  queueName = "telegraf"

  ## Username and password if required by the Active MQ server.
  # username = ""
  # password = ""

  ## Optional TLS Config
  # tls_ca = "/etc/telegraf/ca.pem"
  # tls_cert = "/etc/telegraf/cert.pem"
  # tls_key = "/etc/telegraf/key.pem"

  ## Data format to output.
  data_format = "json"