Skip to content
dark edited this page Oct 5, 2019 · 16 revisions

Graphene

What is Graphene?

Graphene is a java version of Graphite. To store metrics, it uses Cassandra and Elasticsearch instead of Whisper to handle data in a scalable way. It is designed to be compatible with Graphite's API and easily integrates with Grafana's Graphite datasource.
In a cloud environment, the metric key increases exponentially. To cope with this, each metric needs to be managed by time and removed or archived according to the policy. Graphene is a system that supports these methods later to help you manage your metrics cost-effectively. It also supports multi-tenancy for metrics later, so that large numbers of metrics can be maintained and managed in isolated clusters.

How does Graphene work?

Concepts

Concept

Input

Input refers to various patterns for storing metric data.
For example, you may have input from Graphite or InfluxDB.
Each is based on a different data format and converted from Codec to Graphene.

Processor

The Graphene Processor queues the GrapheneMetrics converted from the various inputs and immediately handles to process keys and data.

Store Layer

Key

The Key refers to a value that can identify the metric.
It can also mean a Key in Graphite (foo.bar) or a tag and measurement like InfluxDB. key concepts

Data

The numeric value of the actual metric.
Currently, we only support Handlers stored in Cassandra, and we plan to support Elasticsearch later.