Scalable datastore for metrics, events, and real-time analytics
Go Other
Switch branches/tags
Clone or download
Latest commit ccc4fae Aug 10, 2018
Failed to load latest commit information.
.circleci update CircleCI config to 2.0 syntax (#9711) Apr 16, 2018
.github Update issue templates May 7, 2018
.hooks Fix data race in WAL Mar 15, 2018
_tools/tmpl feat(tsm1): Add Read<type>ArrayBlock APIs to FileStore Jul 16, 2018
client implement using tls configuration Aug 2, 2018
cmd Merge pull request #10151 from influxdata/js-480-config-flux-section Aug 8, 2018
coordinator Simplify loops Aug 5, 2018
docker Use multistage builds in a Dockerfile to compile and create an image … Oct 27, 2017
etc Add configuration parameter to expose rate limit for TSM compaction. Aug 7, 2018
importer Fix imports of multiple databases in a single import file from `influ… Feb 9, 2018
internal fix(tsdb): Fix existing Prometheus tests based on batch cursors Jul 16, 2018
logger refactor(services/storage): Enhanced group support for Read RPC May 30, 2018
man Fix the influx_inspect man page May 25, 2018
models fix line protocol parsing panic Aug 9, 2018
monitor Fix the deadlocks in the monitor tests Mar 9, 2018
pkg tsdb: Copy return value of IndexSet.MeasurementNamesByExpr Aug 9, 2018
prometheus Address PR feedback Jun 13, 2018
query Merge pull request #9853 from influxdata/js-fix-log2-function May 19, 2018
releng Update to Go 1.10.3 Jul 12, 2018
scripts Use correct variable style in influxdb.service Oct 3, 2017
services Simplify loops Aug 5, 2018
stress test(stress): Fix flaky test Aug 8, 2018
tcp Fix data races in tcp.Mux and tcp.listener Jan 19, 2018
tests Allow value filtering on SHOW TAG VALUES Jun 28, 2018
toml Allow customizing the unix socket group and permissions created by th… Apr 5, 2018
tsdb Reduce allocations in TSI TagSets implementation Aug 10, 2018
uuid cleanup import order in uuid.go Jul 9, 2018
.dockerignore decouple circleci from tests using docker Dec 14, 2015
.gitignore update CircleCI config to 2.0 syntax (#9711) Apr 16, 2018
.mention-bot Filtering some authors from mention bot May 11, 2016 Update changelog Aug 10, 2018 Fixes typo in Feb 2, 2016 Update to Go 1.10.3 Jul 12, 2018
Dockerfile Update to Go 1.10.3 Jul 12, 2018
Dockerfile_build_ubuntu32 Update to Go 1.10.3 Jul 12, 2018
Dockerfile_build_ubuntu64 Update to Go 1.10.3 Jul 12, 2018
Dockerfile_build_ubuntu64_git Update to Go 1.10.3 Jul 12, 2018
Dockerfile_build_ubuntu64_go1.11 Change next Go runtime to test to 1.11 Jul 12, 2018
Dockerfile_jenkins_ubuntu32 Update to Go 1.10.3 Jul 12, 2018
Dockerfile_test_ubuntu32 Use DEBIAN_FRONTEND=noninteractive when using apt-get in Dockerfiles Feb 19, 2016
Godeps Revert to RoaringBitmap org Jul 31, 2018
Gopkg.lock Run dep ensure with dep 0.5.0 Aug 10, 2018
Gopkg.toml Revert to RoaringBitmap org Jul 31, 2018
Jenkinsfile Update to Go 1.10.3 Jul 12, 2018
LICENSE Update year to 2016 in LICENSE Jan 16, 2016 Revert to RoaringBitmap org Jul 31, 2018 Updated Oct 25, 2017 Fix wrong link to key concepts in README Nov 15, 2017 Add TODO to change time boundaries for v2 Aug 15, 2016
appveyor.yml Update Windows CI Go to 1.10 Jul 17, 2018 Use dep for dependency management instead of gdm Mar 12, 2018 rename influxdb/influxdb to influxdata/influxdb Feb 10, 2016
errors.go Add authorization error behavior API May 26, 2017 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 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 Change next Go runtime to test to 1.11 Jul 12, 2018 Update dependencies and remove unnecessary constraints from Gopkg.toml Mar 19, 2018

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.


  • 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.


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'"



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 to learn how we can best help you succeed.