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

..03-May-2022-

.circleci/H30-Sep-2020-2018

.github/H30-Sep-2020-6642

.hooks/H30-Sep-2020-2417

_tools/tmpl/H30-Sep-2020-308225

client/H30-Sep-2020-4,5773,666

cmd/H30-Sep-2020-21,69317,476

coordinator/H30-Sep-2020-3,8643,025

docker/H30-Sep-2020-13497

etc/H30-Sep-2020-781594

flux/H30-Sep-2020-3,4712,901

importer/H30-Sep-2020-490349

internal/H30-Sep-2020-771607

logger/H30-Sep-2020-479348

man/H03-May-2022-8156

mock/H30-Sep-2020-255206

models/H30-Sep-2020-6,0574,797

monitor/H30-Sep-2020-1,5111,148

patches/H30-Sep-2020-3,9473,852

pkg/H30-Sep-2020-14,45411,390

prometheus/H30-Sep-2020-2,1321,936

query/H30-Sep-2020-41,52033,276

releng/H30-Sep-2020-870612

scripts/H30-Sep-2020-420290

services/H30-Sep-2020-27,02421,233

storage/reads/H30-Sep-2020-14,56612,871

stress/H30-Sep-2020-7,0565,224

tcp/H30-Sep-2020-523374

tests/H30-Sep-2020-12,53011,067

toml/H30-Sep-2020-551453

tsdb/H30-Sep-2020-91,90669,220

uuid/H30-Sep-2020-11760

.dockerignoreH A D30-Sep-20206 21

.gitignoreH A D30-Sep-2020979 8966

.mention-botH A D30-Sep-2020166 76

CHANGELOG.mdH A D30-Sep-2020242.2 KiB3,3212,609

CODING_GUIDELINES.mdH A D30-Sep-20203.7 KiB8367

CONTRIBUTING.mdH A D30-Sep-202011.7 KiB298216

DEPENDENCIES.mdH A D30-Sep-20204.5 KiB6247

DockerfileH A D30-Sep-2020602 2117

Dockerfile_build_ubuntu32H A D30-Sep-2020831 4032

Dockerfile_build_ubuntu64H A D30-Sep-2020854 4234

Dockerfile_build_ubuntu64_gitH A D30-Sep-20201,016 4536

Dockerfile_jenkins_ubuntu32H A D30-Sep-2020648 2118

Dockerfile_test_ubuntu32H A D30-Sep-2020502 139

JenkinsfileH A D30-Sep-20201.8 KiB8977

LICENSEH A D30-Sep-20201.1 KiB2116

QUERIES.mdH A D30-Sep-20205.3 KiB191131

README.mdH A D30-Sep-20203.9 KiB8054

TODO.mdH A D30-Sep-2020467 106

appveyor.ymlH A D30-Sep-2020870 3831

build.pyH A D30-Sep-202040.6 KiB996865

build.shH A D30-Sep-2020519 2312

errors.goH A D30-Sep-20201.1 KiB4326

go.modH A D30-Sep-20202.4 KiB5552

go.sumH A D30-Sep-202044.1 KiB455454

gobuild.shH A D30-Sep-2020442 198

influxdb.goH A D30-Sep-2020303 71

nightly.shH A D30-Sep-20201.3 KiB5843

node.goH A D30-Sep-20202 KiB12297

test.shH A D30-Sep-20204 KiB159101

write-gdm-deps.shH A D30-Sep-202062 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