influxdata / influxdata/influxdb-java

Influxdb-java data model should have Series

Open
#483 5 comments 0 reactions 1 assignee View on GitHub

@lxhoan is already working on this.

Since Aug 7, 2018.

kind/feature-request
Dominant language
Java
Stars
1.2k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

In current influxdb-java data model we find all concepts of InfluxDB except Series (refer to https://docs.influxdata.com/influxdb/v1.6/concepts/key_concepts/).

Series is the core concept in any time series database. A time series DB design suggestion is don't have too many series, that means most of data points would belong to a certain series.

Nevertheless, a certain time data source (such as a weather censor, a surveillance camera ...), in my opinion, will be writing to a specific series only.

So it would be more convenient for user if we can have a Series in influxdb-java, and also fulfill the InfluxDB model from high level POV

One design I would like to propose is as follows

image

In this design, SeriesPoint extends Point and refers to Series, so all SeriesPoints belong to a Series can share the same tag set and retention policy. This way we can even save some overheads when generating line protocol string

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.