You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Tong Sun <su...@gmail.com> on 2022/07/15 13:54:03 UTC

InfluxDB in docker container and its access URL

Hi Dmitri,

Found your answer at
https://stackoverflow.com/questions/72012407/cannot-see-jmeter-measurement-filter-in-influxdb

which states:

If you're running docker container*s* then I strongly doubt your InfluxDB
> URL of http://localhost:8086 is correct, you will have to use the
> container with InfluxDB IP address both in JMeter and in Grafana.


That may be the reason why I'm getting failed to send data to influxDB
server in my jmeter's log. details at
https://github.com/testsmith-io/jmeter-influxdb-grafana-docker/issues/1

in which I had problems trying to connect from jmeter to InfluxDB using
https://github.com/testsmith-io/jmeter-influxdb-grafana-docker as-is.

The author is not responding, would you take a look at what went wrong
please?

Thanks!

Re: InfluxDB in docker container and its access URL

Posted by Tong Sun <su...@gmail.com>.
On Fri, Jul 15, 2022 at 10:22 AM Tong Sun <su...@gmail.com> wrote:

>
>> . . . I had problems trying to connect from jmeter to InfluxDB using
>> https://github.com/testsmith-io/jmeter-influxdb-grafana-docker as-is.
>>
>>
> Wait, here
>
> https://github.com/testsmith-io/jmeter-influxdb-grafana-docker/blob/357192db5b66cc7dbe73d361a68cc54f032c3840/docker-compose.yml#L6
> The influxdb's 8086 port has already been mapped to localhost:8086.
>
> So the problem might be elsewhere...
>

 I tried again today and *it is working now*.
I didn't do anything. strange.

Re: InfluxDB in docker container and its access URL

Posted by Tong Sun <su...@gmail.com>.
On Fri, Jul 15, 2022 at 9:54 AM Tong Sun <su...@gmail.com> wrote:

> Hi Dmitri,
>
> Found your answer at
>
> https://stackoverflow.com/questions/72012407/cannot-see-jmeter-measurement-filter-in-influxdb
>
> which states:
>
> If you're running docker container*s* then I strongly doubt your InfluxDB
>> URL of http://localhost:8086 is correct, you will have to use the
>> container with InfluxDB IP address both in JMeter and in Grafana.
>
>
> That may be the reason why I'm getting failed to send data to influxDB
> server in my jmeter's log. details at
> https://github.com/testsmith-io/jmeter-influxdb-grafana-docker/issues/1
>
> in which I had problems trying to connect from jmeter to InfluxDB using
> https://github.com/testsmith-io/jmeter-influxdb-grafana-docker as-is.
>
>
Wait, here
https://github.com/testsmith-io/jmeter-influxdb-grafana-docker/blob/357192db5b66cc7dbe73d361a68cc54f032c3840/docker-compose.yml#L6
The influxdb's 8086 port has already been mapped to localhost:8086.

So the problem might be elsewhere...


> The author is not responding, would you take a look at what went wrong
> please?
>
> Thanks!
>
>