Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

nefeli/nats-consumer-ext

Repository files navigation

nats_consumer_ext

Telegraf External plugins for NATS IO messages. This plugin extends the functionality of nats_consumer plugin on telegraf official repo nats_consumer.

  • adding tags from the subjects e.g.,

    subject_tags = {"country": 1, "resourcetype": 4}
    

    to add two tags "country"="us","resourcetype"="memory", for all the data from the subject "country.us.type.memory" or "country..type."

compile

CGO_ENABLE=0 go build

run demo

./nats_consumer_ext -config nats_consumer_ext.conf

About

Telegraf external plugin for NATS consumer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages