Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON support #2

Open
3 tasks
ivotron opened this issue May 30, 2015 · 0 comments
Open
3 tasks

Add JSON support #2

ivotron opened this issue May 30, 2015 · 0 comments

Comments

@ivotron
Copy link
Owner

ivotron commented May 30, 2015

Aver assumes that metrics are stored in a relational table that is accessed using database/sql. In order to support JSON, we need to find a way to load the data into a table. We can obtain a CSV file from JSON that then gets imported into a SQL backend. The CSV-to-table conversion is an independent task that is covered in issue #3. This issue addresses going from JSON to CSV.

It is relatively straight-forward to go from JSON to CSV (e.g. using json2csv), the problem is that given the unstructured nature of JSON, there's no single way to interpret a JSON-formatted file. Thus, we need to create an importer for each distinct metrics backend. This issue will cover some of the most popular open source ones:

  • graphite
  • influxdb
  • opentsdb

Others not covered by this issue: ganglia, librato, stathat, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant