mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-08-22 18:33:00 +02:00
Add timeout options to httpSink
This commit is contained in:
@@ -13,7 +13,10 @@ The `http` sink uses POST requests to a HTTP server to submit the metrics in the
|
||||
"host": "dbhost.example.com",
|
||||
"port": "4222",
|
||||
"jwt" : "0x0000q231",
|
||||
"ssl" : false
|
||||
"ssl" : false,
|
||||
"timeout": "5s",
|
||||
"max_idle_connections" : 10,
|
||||
"idle_connection_timeout" : "5s"
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -24,4 +27,7 @@ The `http` sink uses POST requests to a HTTP server to submit the metrics in the
|
||||
- `host`: Hostname of the InfluxDB database server
|
||||
- `port`: Portnumber (as string) of the InfluxDB database server
|
||||
- `jwt`: JSON web tokens for authentification
|
||||
- `ssl`: Activate SSL encryption
|
||||
- `ssl`: Activate SSL encryption
|
||||
- `timeout`: General timeout for the HTTP client (default '5s')
|
||||
- `max_idle_connections`: Maximally idle connections (default 10)
|
||||
- `idle_connection_timeout`: Timeout for idle connections (default '5s')
|
Reference in New Issue
Block a user