← Todas las guías
InfluxDB
A purpose-built time-series database for metrics and events — the standard backend for storing sensor readings, IoT telemetry, and infrastructure monitoring data at high write volume.
Esta guía se elaboró a partir de la documentación oficial de InfluxDB, enlazada arriba — verifica siempre ahí los nombres exactos de paquetes/versiones antes de ejecutar estos comandos en un servidor de producción, ya que las versiones de la distribución y del proyecto cambian con el tiempo.
1Run the official container
docker run -d \ --name influxdb \ -p 8086:8086 \ -v ./influxdb/data:/var/lib/influxdb2 \ -v ./influxdb/config:/etc/influxdb2 \ --restart unless-stopped \ influxdb:22Complete the setup wizard
The first visit walks through creating an admin user, an initial organization, and a bucket (InfluxDB's term for a named data retention policy/database).
http://your-server-ip:80863Write and query data
Data is written via the API/client libraries (or Telegraf as a collection agent) and queried with Flux or InfluxQL; Grafana is the most common way to visualize it.