Difference between revisions of "InfluxDB"

From wikieduonline
Jump to navigation Jump to search
Line 24: Line 24:
  
 
== Retention policy ==
 
== Retention policy ==
When you create a database, InfluxDB creates a retention policy called <code>autogen</code> with an infinite duration, a [[replication]] factor set to one, and a [[shard group]] duration set to seven days.
+
When you create a database, InfluxDB creates a retention policy called <code>autogen</code> with an infinite duration, a [[replication]] factor set to one, and a [[shard group]] duration set to seven days. ([[/etc/influxdb/influxdb.conf]])
  
 
== Related terms ==
 
== Related terms ==

Revision as of 09:48, 14 March 2024

wikipedia:InfluxDB (2013, go) open source TSDB. InfluxDB has no external dependencies and provides an SQL-like language, listening on port 8086.

Linux installation:

  • apt install influxdb
  • apt install influxdb-client, provide influx client binary

MacOS installation:

Configuration:

Status:

Help:

Line protocol

InfluxDB accepts data via HTTP, TCP, and UDP. It defines a line protocol backwards compatible with Graphite and takes the form:

measurement(,tag_key=tag_val)* field_key=field_val(,field_key_n=field_value_n)* (nanoseconds-timestamp)?

Retention policy

When you create a database, InfluxDB creates a retention policy called autogen with an infinite duration, a replication factor set to one, and a shard group duration set to seven days. (/etc/influxdb/influxdb.conf)

Related terms

See also

Advertising: