mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-04-03 22:47:30 +02:00
446 B
446 B
http receiver
The http receiver can be used receive metrics through HTTP POST requests.
Configuration structure
{
"<name>": {
"type": "http",
"address" : "",
"port" : "8080",
"path" : "/write"
}
}
type: makes the receiver ahttpreceiveraddress: Listen addressport: Listen portpath: URL path for the write endpoint
The HTTP endpoint listens to http://<address>:<port>/<path>