• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.circleci/H11-Apr-2019-2018

.github/H11-Apr-2019-6642

.hooks/H11-Apr-2019-2417

_tools/tmpl/H11-Apr-2019-308225

client/H11-Apr-2019-4,3933,522

cmd/H11-Apr-2019-21,29417,179

coordinator/H11-Apr-2019-3,8052,989

docker/H11-Apr-2019-13497

etc/H11-Apr-2019-766582

flux/H11-Apr-2019-1,6471,300

importer/H11-Apr-2019-490349

internal/H11-Apr-2019-773607

logger/H11-Apr-2019-478347

man/H03-May-2022-8156

mock/H11-Apr-2019-188153

models/H11-Apr-2019-5,5744,383

monitor/H11-Apr-2019-1,5111,148

pkg/H11-Apr-2019-14,40211,350

prometheus/H11-Apr-2019-2,1331,937

query/H11-Apr-2019-41,06932,840

releng/H11-Apr-2019-869612

scripts/H11-Apr-2019-414288

services/H11-Apr-2019-26,02920,394

storage/reads/H11-Apr-2019-15,48913,676

stress/H11-Apr-2019-7,0565,224

tcp/H11-Apr-2019-523374

tests/H11-Apr-2019-12,46911,018

toml/H11-Apr-2019-551453

tsdb/H11-Apr-2019-90,20868,028

uuid/H11-Apr-2019-11760

.dockerignoreH A D11-Apr-20196 21

.gitignoreH A D11-Apr-2019934 8462

.mention-botH A D11-Apr-2019166 76

CHANGELOG.mdH A D11-Apr-2019236.5 KiB3,2442,546

CODING_GUIDELINES.mdH A D11-Apr-20193.7 KiB8367

CONTRIBUTING.mdH A D11-Apr-201912 KiB310224

DEPENDENCIES.mdH A D11-Apr-20194.5 KiB6247

DockerfileH A D11-Apr-2019588 2016

Dockerfile_build_ubuntu32H A D11-Apr-2019933 4033

Dockerfile_build_ubuntu64H A D11-Apr-2019955 4235

Dockerfile_build_ubuntu64_gitH A D11-Apr-20191,016 4536

Dockerfile_build_ubuntu64_go1.11H A D11-Apr-20191 KiB4536

Dockerfile_jenkins_ubuntu32H A D11-Apr-2019631 2017

Dockerfile_test_ubuntu32H A D11-Apr-2019502 139

GodepsH A D11-Apr-20193.2 KiB5049

Gopkg.lockH A D11-Apr-201929 KiB1,065973

Gopkg.tomlH A D11-Apr-20191.6 KiB8463

JenkinsfileH A D11-Apr-20192.2 KiB9682

LICENSEH A D11-Apr-20191.1 KiB2116

QUERIES.mdH A D11-Apr-20195.3 KiB191131

README.mdH A D11-Apr-20193.9 KiB8054

TODO.mdH A D11-Apr-2019467 106

appveyor.ymlH A D11-Apr-2019870 3831

build.pyH A D11-Apr-201940.6 KiB992863

build.shH A D11-Apr-2019548 2312

errors.goH A D11-Apr-20191.1 KiB4326

gobuild.shH A D11-Apr-2019442 198

influxdb.goH A D11-Apr-2019303 71

nightly.shH A D11-Apr-20191.3 KiB5843

node.goH A D11-Apr-20192 KiB12297

test.shH A D11-Apr-20194.2 KiB165105

write-gdm-deps.shH A D11-Apr-201962 31

README.md

1# InfluxDB [![Circle CI](https://circleci.com/gh/influxdata/influxdb/tree/master.svg?style=svg)](https://circleci.com/gh/influxdata/influxdb/tree/master) [![Go Report Card](https://goreportcard.com/badge/github.com/influxdata/influxdb)](https://goreportcard.com/report/github.com/influxdata/influxdb) [![Docker pulls](https://img.shields.io/docker/pulls/library/influxdb.svg)](https://hub.docker.com/_/influxdb/)
2
3# ATTENTION:
4
5Around January 11th, 2019, `master` on this repository will become InfluxDB 2.0 code. The content of `infludata/platform` will be moved to this repository. If you rely on `master`, you should update your dependencies to track the `1.7` branch.
6
7## An Open-Source Time Series Database
8
9InfluxDB is an open source **time series database** with
10**no external dependencies**. It's useful for recording metrics,
11events, and performing analytics.
12
13## Features
14
15* Built-in [HTTP API](https://docs.influxdata.com/influxdb/latest/guides/writing_data/) so you don't have to write any server side code to get up and running.
16* Data can be tagged, allowing very flexible querying.
17* SQL-like query language.
18* Simple to install and manage, and fast to get data in and out.
19* It aims to answer queries in real-time. That means every data point is
20  indexed as it comes in and is immediately available in queries that
21  should return in < 100ms.
22
23## Installation
24
25We recommend installing InfluxDB using one of the [pre-built packages](https://influxdata.com/downloads/#influxdb). Then start InfluxDB using:
26
27* `service influxdb start` if you have installed InfluxDB using an official Debian or RPM package.
28* `systemctl start influxdb` if you have installed InfluxDB using an official Debian or RPM package, and are running a distro with `systemd`. For example, Ubuntu 15 or later.
29* `$GOPATH/bin/influxd` if you have built InfluxDB from source.
30
31## Getting Started
32
33### Create your first database
34
35```
36curl -XPOST "http://localhost:8086/query" --data-urlencode "q=CREATE DATABASE mydb"
37```
38
39### Insert some data
40```
41curl -XPOST "http://localhost:8086/write?db=mydb" \
42-d 'cpu,host=server01,region=uswest load=42 1434055562000000000'
43
44curl -XPOST "http://localhost:8086/write?db=mydb" \
45-d 'cpu,host=server02,region=uswest load=78 1434055562000000000'
46
47curl -XPOST "http://localhost:8086/write?db=mydb" \
48-d 'cpu,host=server03,region=useast load=15.4 1434055562000000000'
49```
50
51### Query for the data
52```JSON
53curl -G "http://localhost:8086/query?pretty=true" --data-urlencode "db=mydb" \
54--data-urlencode "q=SELECT * FROM cpu WHERE host='server01' AND time < now() - 1d"
55```
56
57### Analyze the data
58```JSON
59curl -G "http://localhost:8086/query?pretty=true" --data-urlencode "db=mydb" \
60--data-urlencode "q=SELECT mean(load) FROM cpu WHERE region='uswest'"
61```
62
63## Documentation
64
65* Read more about the [design goals and motivations of the project](https://docs.influxdata.com/influxdb/latest/).
66* Follow the [getting started guide](https://docs.influxdata.com/influxdb/latest/introduction/getting_started/) to learn the basics in just a few minutes.
67* Learn more about [InfluxDB's key concepts](https://docs.influxdata.com/influxdb/latest/concepts/key_concepts/).
68
69## Contributing
70
71If you're feeling adventurous and want to contribute to InfluxDB, see our [contributing doc](https://github.com/influxdata/influxdb/blob/master/CONTRIBUTING.md) for info on how to make feature requests, build from source, and run tests.
72
73## Licensing
74
75See [LICENSE](./LICENSE) and [DEPENDENCIES](./DEPENDENCIES).
76
77## Looking for Support?
78
79InfluxDB offers a number of services to help your project succeed. We offer Developer Support for organizations in active development, Managed Hosting to make it easy to move into production, and Enterprise Support for companies requiring the best response times, SLAs, and technical fixes. Visit our [support page](https://influxdata.com/services/) or contact [sales@influxdb.com](mailto:sales@influxdb.com) to learn how we can best help you succeed.
80