From b488ff76b1012388122eef359c4ce5f5ba0d7c4c Mon Sep 17 00:00:00 2001 From: Thomas Gruber Date: Tue, 10 Oct 2023 11:54:30 +0200 Subject: [PATCH] Update natsSink.md --- sinks/natsSink.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sinks/natsSink.md b/sinks/natsSink.md index 7a53f27..24c6ea4 100644 --- a/sinks/natsSink.md +++ b/sinks/natsSink.md @@ -9,20 +9,20 @@ The `nats` sink publishes all metrics into a NATS network. The publishing key is { "": { "type": "nats", - "meta_as_tags" : true, "database" : "mymetrics", "host": "dbhost.example.com", "port": "4222", "user": "exampleuser", - "password" : "examplepw" + "password" : "examplepw", + "meta_as_tags" : [], } } ``` - `type`: makes the sink an `nats` sink -- `meta_as_tags`: print all meta information as tags in the output (optional) - `database`: All metrics are published with this subject - `host`: Hostname of the NATS server - `port`: Portnumber (as string) of the NATS server - `user`: Username for basic authentification -- `password`: Password for basic authentification \ No newline at end of file +- `password`: Password for basic authentification +- `meta_as_tags`: print all meta information as tags in the output (optional)