Hi,
I have installed Gatling and Grafana using Docker on my Mac laptop (Monterey 12.5.1).
However, when I run a simple Gatling test, I don’t see any Gatling metrics being persisted in InfluxDB.
I verified that InfluxDB is reachable. I can ping it and successfully persist data using a curl
command. However, no data appears from Gatling after running the tests.
I also checked the Docker logs for InfluxDB, but I don’t see any errors that could explain the issue.
Has anyone successfully configured Gatling with InfluxDB 2.0 and Grafana? This is my first time setting up
this stack, and I’ve spent a lot of time searching for a solution online.
If I’m missing something, I’d really appreciate any help.
Thank you.
Configuration/version:
- Gatling
version: 3.13.1
2.InfluxDB
version v2.7.11
- gatling.conf
gatling {
core {
writers = [“influxdb”, “console”, “file”]
}
influxdb {
host = “http://host.docker.internal:8086”
token = “”
org = “myorg”
bucket = “gatling”
}
}
- docker-compose
docker-compose.yml
services:
influxdb:
image: influxdb:latest
env_file: configuration.env
ports:- ‘8086:8086’
volumes: - influxdb_data:/var/lib/influxdb
- ‘8086:8086’
grafana:
image: grafana/grafana:latest
env_file: configuration.env
depends_on:
- influxdb
ports:
- ‘3000:3000’
volumes:
- grafana_data:/var/lib/grafana
volumes:
grafana_data: {}
influxdb_data: {}