mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-13 21:47:25 +01:00
597 B
597 B
nats
receiver
The nats
receiver can be used receive metrics from the NATS network. The nats
receiver subscribes to the topic database
and listens on address
and port
for metrics in the InfluxDB line protocol.
Configuration structure
{
"<name>": {
"type": "nats",
"address" : "nats-server.example.org",
"port" : "4222",
"subject" : "subject"
}
}
type
: makes the receiver anats
receiveraddress
: Address of the NATS control serverport
: Port of the NATS control serversubject
: Subscribes to this subject and receive metrics