Description
InfluxDB is an open-source time series database for storage and retrieval of time series data in fields such as operations monitoring, application metrics, Internet of Things sensor data, and real-time analytics.Examples
Dependency:
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>influxdb</artifactId>
<version>1.20.0</version>
<scope>test</scope>
</dependency>
Usage:
var influx = new InfluxDBContainer<>(DockerImageName.parse("influxdb:2.0.7"));
influx.start();
Dependency:
go get github.com/testcontainers/testcontainers-go/modules/influxdb
Usage:
influxdbContainer, err := influxdb.Run(ctx, "influxdb:1.8.10")
Dependency:
pip install testcontainers[influxdb]
Usage:
with InfluxDbContainer() as influxdb_container:
connection_url = influxdb_container.get_url()