influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

Add configuration options 'unix-socket-enabled' and 'bind-socket' for InfluxDB 2.x

Open DonCamillo72 opened this issue 3 years ago • 1 comments

Feature Request:

Add support for unix domain sockets for InfluxDB 2.x with the configuration options 'unix-socket-enabled' and 'bind-socket'

Proposal:

Add configuration options to InfluxDB 2.x already supported for InfluxDB 1.x

unix-socket-enabled = "true" bind-socket = "unix://var/run/influxdb.sock"

Current behavior:

InfluxDB 2.x can only configured for HTTP or HTTPS

Desired behavior:

InfluxDB 2.x can be configured for UDS

Use case:

Upgrade configuration from InfluxDB 1.x to InfluxDB 2.x with options 'unix-socket-enabled' and 'bind-socket' Easy reverse proxy integration UDS sockets are faster and more reliables as a TCP sockets

DonCamillo72 avatar May 31 '22 08:05 DonCamillo72

Looks like this request can be extended to InfluxDB 3.x which also seems to only support TCP sockets.

IngmarStein avatar May 10 '25 14:05 IngmarStein