mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-10-23 22:35:07 +02: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 anatsreceiveraddress: Address of the NATS control serverport: Port of the NATS control serversubject: Subscribes to this subject and receive metrics