Gnocchi – Metric as a Service

Gnocchi is an open-source time series database.

The problem that Gnocchi solves is the storage and indexing of time series data and resources at a large scale. This is useful in modern cloud platforms which are not only huge but also are dynamic and potentially multi-tenant. Gnocchi takes all of that into account.

Gnocchi has been designed to handle large amounts of aggregates being stored while being performant, scalable and fault-tolerant. While doing this, the goal was to be sure to not build any hard dependency on any complex storage system.

Gnocchi takes a unique approach to time series storage: rather than storing raw data points, it aggregates them before storing them. This built-in feature is different from most other time series databases, which usually support this mechanism as an option and compute aggregation (average, minimum, etc.) at query time.

Because Gnocchi computes all the aggregations at ingestion, getting the data back is extremely fast, as it just needs to read back the pre-computed results.

You can read the full documentation online at

Key Features

Gnocchi’s main features are:

  • HTTP REST interface

  • Horizontal scalability

  • Metric aggregation

  • Measures batching support

  • Archiving policy

  • Metric value search

  • Structured resources

  • Resource history

  • Queryable resource indexer

  • Multi-tenant

  • Grafana support

  • Prometheus Remote Write support

  • Nagios/Icinga support

  • Statsd protocol support

  • Collectd plugin support

  • InfluxDB line protocol ingestion support

  • AMQP 1.0 protocol support


You can join Gnocchi’s community via the following channels: