Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

why influxdb-relay opens TCP 8088 port? #44

Closed
dpajin opened this issue Mar 24, 2020 · 2 comments
Closed

why influxdb-relay opens TCP 8088 port? #44

dpajin opened this issue Mar 24, 2020 · 2 comments

Comments

@dpajin
Copy link

dpajin commented Mar 24, 2020

Hello,

I see that influxdb-relay uses TCP port 8088...

bash-5.0# netstat -noap | grep tcp
...
tcp6       0      0 :::9096                 :::*                    LISTEN      1/influxdb-relay     off (0.00/0/0)
tcp6       0      0 :::8088                 :::*                    LISTEN      1/influxdb-relay     off (0.00/0/0)

There is nothing in the documentation about this. It seems that it is hardcoded in the following file:
https://github.com/strike-team/influxdb-relay/blob/master/metric/metric.go.

Unfortunately, this overlaps with the port used by InfluxDB (https://docs.influxdata.com/influxdb/v1.7/administration/ports/), so if you want to run it on the same node, or Docker containers running on the host network, they overlap and only one service can run.

Can we somehow disable this service, or make this port configurable?

@damoun
Copy link

damoun commented Mar 26, 2020

Hello,

It's an http endpoint to expose metrics for prometheus. It was introduced by #40.

@dpajin
Copy link
Author

dpajin commented Mar 26, 2020

Thanks for clarification.

@dpajin dpajin closed this as completed Mar 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants