mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
685 B
685 B
appmetrics
receiver
The appmetrics
receiver can be used to submit metrics from an application into the monitoring system. It listens for incoming connections on a UNIX socket.
Configuration structure
{
"<name>": {
"type": "appmetrics",
"socket_file" : "/tmp/cc.sock",
}
}
type
: makes the receiver aappmetrics
receiversocket_file
: Listen UNIX socket
Inputs from applications
Applcations can connect to the appmetrics
socket and provide metric in the InfluxDB line protocol. It is currently not possible to submit meta information as the Influx line protocol does not know them.