Difference between revisions of "InfluxDB"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
[[wikipedia:InfluxDB]] (2013, [[go]]) open source [[TSDB]]. InfluxDB has no external dependencies and provides an [[SQL]]-like language, listening on port [[8086]].
[[wikipedia:Influxdb]]
 
  
 +
Linux installation:
 +
* <code>[[apt install influxdb]]</code>
 +
* <code>apt install influxdb-client</code>, provide <code>[[influx]]</code> client binary
  
* <code>apt install influxdb</code>
+
MacOS installation:
 +
* <code>[[brew install influxdb]] [[influxdb-cli]]</code>
 +
 
 +
Configuration:
 +
* <code>[[/etc/influxdb/influxdb.conf]]</code>
 +
* <code>[[~/brew/Cellar/influxdb/2.7.5/config.yml]]</code>
 +
 
 +
Status:
 +
* <code>[[systemctl status influxdb]]</code>
 
* <code>[[systemctl]] stop influxdb</code>
 
* <code>[[systemctl]] stop influxdb</code>
 +
 +
Help:
 +
* <code>[[influxd --help]]</code>
 +
 +
== Line protocol ==
 +
InfluxDB accepts data via HTTP, TCP, and UDP. It defines a line protocol backwards compatible with [[Graphite]] and takes the form:
 +
:<code>measurement(,tag_key=tag_val)* field_key=field_val(,field_key_n=field_value_n)* (nanoseconds-timestamp)?</code>
 +
 +
== 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. ([[/etc/influxdb/influxdb.conf]])
  
 
== Related terms ==
 
== Related terms ==
 
* [[Glances]]
 
* [[Glances]]
 
+
* [[Telegraf]]
 +
* [[Grafana]]
 +
* [[Graphite]]
 +
* [[CollectD]]
 +
* [[Influx]]
 +
* [[Prometheus]]
  
 
== See also ==
 
== See also ==
* [[Grafana]]
+
* {{influx}}
 +
* {{InfluxDB}}
 +
* {{TSDB}}
 
* {{DBs}}
 
* {{DBs}}
  
 
[[Category:Databases]]
 
[[Category:Databases]]

Latest 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:

MacOS installation:

Configuration:

Status:

Help:

Line protocol[edit]

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[edit]

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[edit]

See also[edit]

Advertising: