mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-27 07:39:05 +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