English spoken conference

InfluxDB

InfluxDB

InfluxDB is a time series database optimized for high-write-volume use cases such as logs, sensor data, and real-time analytics. It exposes an HTTP API for client interaction.

To use it in your application, add it to .symfony/services.yaml:

1
2
3
4
influx:
    # supported versions: 1.2, 1.3, 1.7
    type: influxdb:1.7
    disk: 1024

And wire it in .symfony.cloud.yaml:

1
2
relationships:
    timedb: "influx:influxdb"

Environment Variables

The configuration is exposed via the following environment variables (where TIMEDB is the upper-cased version of the key defined in the relationship above):

  • TIMEDB_SCHEME
  • TIMEDB_HOST
  • TIMEDB_PORT
  • TIMEDB_IP

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.