Scalable datastore for metrics, events, and real-time analytics
Go Shell Python JavaScript HTML Protocol Buffer Other
Latest commit 3722fa3 Jan 20, 2017 @gunnaraasen gunnaraasen committed on GitHub Merge pull request #7718 from influxdata/ga-drop-stats
Add stats on dropped measurements and series; Fixes #7697
Permalink
Failed to load latest commit information.
.github Add Documentation Task to Pull Request Template Dec 7, 2016
.hooks Fix incorrect composites check setting May 18, 2016
client Merge remote-tracking branch 'influx/master' into mr-godoc Jan 4, 2017
cmd Remove token message; Fixes #7823 Jan 11, 2017
coordinator Add db/rp name validation Jan 12, 2017
etc Update config; fixes #7736 Dec 20, 2016
importer Add package comment for importer/v8 Dec 30, 2016
influxql Fix for subqueries to use the parallel iterator correctly Jan 11, 2017
internal Merge pull request #7747 from influxdata/mr-lint-cleanup Jan 10, 2017
man Merge pull request #7492 from influxdata/mr-influx_inspect-help-verify Nov 7, 2016
models Adjust Tags cloning Jan 13, 2017
monitor Merge remote-tracking branch 'influx/master' into mr-godoc Jan 4, 2017
pkg Update godoc for pkg Dec 31, 2016
scripts Merge pull request #7536 from ast-systemtechnik/skladd-patch-init.sh Dec 1, 2016
services Ensure subscriber service respects config Jan 13, 2017
stress panicing is bad -> error returns are good Jan 3, 2017
tcp Update godoc for packages tcp, toml, uuid Dec 31, 2016
tests rename influxdb/influxdb to influxdata/influxdb Feb 10, 2016
toml Update godoc for packages tcp, toml, uuid Dec 31, 2016
tsdb Merge pull request #7718 from influxdata/ga-drop-stats Jan 20, 2017
uuid Update godoc for packages tcp, toml, uuid Dec 31, 2016
.dockerignore decouple circleci from tests using docker Dec 14, 2015
.gitignore Add note to use global .gitignore Oct 17, 2016
.mention-bot Filtering some authors from mention bot May 11, 2016
CHANGELOG.md Fixes racy locking on measurement Jan 16, 2017
CODING_GUIDELINES.md Fixes typo in CODING_GUIDELINES.md Feb 2, 2016
CONTRIBUTING.md Fix small typo in CONTRIBUTING.md Jan 2, 2017
DOCKER.md Update Go version to 1.7.4 Dec 5, 2016
Dockerfile Add instructions for building a minimal docker image Aug 7, 2015
Dockerfile_build_ubuntu32 Update Go version to 1.7.4 Dec 5, 2016
Dockerfile_build_ubuntu64 Update Go version to 1.7.4 Dec 5, 2016
Dockerfile_build_ubuntu64_git Update Go version to 1.7.4 Dec 5, 2016
Dockerfile_test_ubuntu32 Use DEBIAN_FRONTEND=noninteractive when using apt-get in Dockerfiles Feb 19, 2016
Godeps Use a dev copy of zap which consistently uses the proper imports Dec 15, 2016
LICENSE Update year to 2016 in LICENSE Jan 16, 2016
LICENSE_OF_DEPENDENCIES.md Update dependency Dec 14, 2016
Makefile Update toml dependency for slice panic when reading the config Feb 23, 2016
QUERIES.md Update QUERIES.md Oct 28, 2015
README.md Deprecated use of CREATE DATABASE in a read only context, use a POST … Jan 18, 2017
TODO.md Add TODO to change time boundaries for v2 Aug 15, 2016
appveyor.yml Use built-in Go 1.7 in Appveyor Sep 29, 2016
build-docker.sh Update Go version to 1.7.4 Dec 5, 2016
build.py Fix ARM64 build by replacing "aarch64" string with "arm64" Nov 3, 2016
build.sh rename influxdb/influxdb to influxdata/influxdb Feb 10, 2016
circle-test.sh add docker rm flag so circleci can disable deletion of containers Feb 2, 2016
circle.yml Update Go version to 1.7.4 Dec 5, 2016
errors.go Ensure ErrFieldTypeConflict value returned Sep 5, 2016
gobuild.sh make tip container usable for any git revision, add go1.6beta1 test Dec 16, 2015
influxdb.go Update godoc for the client packages Dec 30, 2016
nightly.sh Update packaing and build for new github org Jan 4, 2016
node.go Removed ineffective assignments, and added checks for errors that pre… Dec 29, 2016
package.sh Use go1.4.3 Jan 10, 2016
test.sh Update circle.yml to automate release upload on version tag. Jul 14, 2016

README.md

InfluxDB Circle CI Go Report Card Docker pulls

An Open-Source Time Series Database

InfluxDB is an open source time series database with no external dependencies. It's useful for recording metrics, events, and performing analytics.

Features

  • Built-in HTTP API so you don't have to write any server side code to get up and running.
  • Data can be tagged, allowing very flexible querying.
  • SQL-like query language.
  • Simple to install and manage, and fast to get data in and out.
  • It aims to answer queries in real-time. That means every data point is indexed as it comes in and is immediately available in queries that should return in < 100ms.

Installation

We recommend installing InfluxDB using one of the pre-built packages. Then start InfluxDB using:

  • service influxdb start if you have installed InfluxDB using an official Debian or RPM package.
  • 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.
  • $GOPATH/bin/influxd if you have built InfluxDB from source.

Getting Started

Create your first database

curl -XPOST 'http://localhost:8086/query' --data-urlencode "q=CREATE DATABASE mydb"

Insert some data

curl -XPOST 'http://localhost:8086/write?db=mydb' \
-d 'cpu,host=server01,region=uswest load=42 1434055562000000000'

curl -XPOST 'http://localhost:8086/write?db=mydb' \
-d 'cpu,host=server02,region=uswest load=78 1434055562000000000'

curl -XPOST 'http://localhost:8086/write?db=mydb' \
-d 'cpu,host=server03,region=useast load=15.4 1434055562000000000'

Query for the data

curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=mydb" \
--data-urlencode "q=SELECT * FROM cpu WHERE host='server01' AND time < now() - 1d"

Analyze the data

curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=mydb" \
--data-urlencode "q=SELECT mean(load) FROM cpu WHERE region='uswest'"

Documentation

Contributing

If you're feeling adventurous and want to contribute to InfluxDB, see our contributing doc for info on how to make feature requests, build from source, and run tests.

Looking for Support?

InfluxDB 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 or contact sales@influxdb.com to learn how we can best help you succeed.