mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-26 07:29:04 +01:00
Update natsSink.md
This commit is contained in:
parent
e42b41f264
commit
b488ff76b1
@ -9,20 +9,20 @@ The `nats` sink publishes all metrics into a NATS network. The publishing key is
|
|||||||
{
|
{
|
||||||
"<name>": {
|
"<name>": {
|
||||||
"type": "nats",
|
"type": "nats",
|
||||||
"meta_as_tags" : true,
|
|
||||||
"database" : "mymetrics",
|
"database" : "mymetrics",
|
||||||
"host": "dbhost.example.com",
|
"host": "dbhost.example.com",
|
||||||
"port": "4222",
|
"port": "4222",
|
||||||
"user": "exampleuser",
|
"user": "exampleuser",
|
||||||
"password" : "examplepw"
|
"password" : "examplepw",
|
||||||
|
"meta_as_tags" : [],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- `type`: makes the sink an `nats` sink
|
- `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
|
- `database`: All metrics are published with this subject
|
||||||
- `host`: Hostname of the NATS server
|
- `host`: Hostname of the NATS server
|
||||||
- `port`: Portnumber (as string) of the NATS server
|
- `port`: Portnumber (as string) of the NATS server
|
||||||
- `user`: Username for basic authentification
|
- `user`: Username for basic authentification
|
||||||
- `password`: Password for basic authentification
|
- `password`: Password for basic authentification
|
||||||
|
- `meta_as_tags`: print all meta information as tags in the output (optional)
|
||||||
|
Loading…
Reference in New Issue
Block a user