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

..03-May-2022-

.circleci/H09-Jul-2021-180176

.github/H09-Jul-2021-6642

.hooks/H09-Jul-2021-2417

_tools/tmpl/H09-Jul-2021-310225

client/H09-Jul-2021-4,7023,758

cmd/H09-Jul-2021-22,07017,795

coordinator/H09-Jul-2021-3,7792,970

docker/H09-Jul-2021-13497

etc/H09-Jul-2021-795604

flux/H09-Jul-2021-6,8345,862

importer/H09-Jul-2021-490349

internal/H09-Jul-2021-1,194935

kit/H09-Jul-2021-6,7315,178

logger/H09-Jul-2021-494358

man/H03-May-2022-8055

mock/H09-Jul-2021-317253

models/H09-Jul-2021-6,1884,902

monitor/H09-Jul-2021-1,5111,148

patches/H09-Jul-2021-3,9473,852

pkg/H09-Jul-2021-14,91311,749

prometheus/H09-Jul-2021-470375

query/H09-Jul-2021-45,28736,118

releng/H09-Jul-2021-1,122832

scripts/H09-Jul-2021-426292

services/H09-Jul-2021-27,88121,866

storage/H09-Jul-2021-35,41930,644

tcp/H09-Jul-2021-532383

tests/H09-Jul-2021-13,34011,772

toml/H09-Jul-2021-551453

tsdb/H09-Jul-2021-93,75370,694

uuid/H09-Jul-2021-11760

.dockerignoreH A D09-Jul-20216 21

.gitignoreH A D09-Jul-20211,004 9469

.mention-botH A D09-Jul-2021166 76

CHANGELOG.mdH A D09-Jul-2021251.3 KiB3,4402,704

CODING_GUIDELINES.mdH A D09-Jul-20213.7 KiB8367

CONTRIBUTING.mdH A D09-Jul-202111.8 KiB302218

DEPENDENCIES.mdH A D09-Jul-20214.5 KiB6247

DockerfileH A D09-Jul-2021603 2117

Dockerfile_build_ubuntu64H A D09-Jul-20211.1 KiB5042

LICENSEH A D09-Jul-20211.1 KiB2116

MakefileH A D09-Jul-202158 53

QUERIES.mdH A D09-Jul-20215.3 KiB191131

README.mdH A D09-Jul-20213.9 KiB8054

TODO.mdH A D09-Jul-2021467 106

appveyor.ymlH A D09-Jul-2021870 3831

build.pyH A D09-Jul-202140.9 KiB1,000869

build.shH A D09-Jul-2021519 2312

checkfmt.shH A D09-Jul-20211.2 KiB3221

errors.goH A D09-Jul-20211.1 KiB4326

go.modH A D09-Jul-20212.3 KiB5754

go.sumH A D09-Jul-2021116.5 KiB1,1991,198

influxdb.goH A D09-Jul-2021303 71

nightly.shH A D09-Jul-20211.3 KiB5843

node.goH A D09-Jul-20212 KiB12297

pkg-config.shH A D09-Jul-2021456 158

test-flux.shH A D09-Jul-20211,015 5041

test.shH A D09-Jul-20214.1 KiB166107

tools.goH A D09-Jul-2021249 128

write-gdm-deps.shH A D09-Jul-202162 31

README.md

1# InfluxDB [![Circle CI](https://circleci.com/gh/influxdata/influxdb/tree/master-1.x.svg?style=svg)](https://circleci.com/gh/influxdata/influxdb/tree/master-1.x) [![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 `maxter-1.x` 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-1.x/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