Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyClickhouse

Accumulation and periodic sending of data to Clickhouse from Elixir apps.

Installation

def deps do
  [
    {:easy_clickhouse,
      git: "https://github.com/dvolkow/easy_clickhouse.git", branch: "master"}
  ]
end

Usage

It often happens that you have a table (or several tables) into which you write data from the application.

Let's say you have a database :your_database and a table :your_table, and you know the time interval rate (must be in milliseconds!) at which you want to send data.

Now you can do this declaratively if you have Elixir. Just add it to the supervisor tree:

  tables = [
      {:your_database, :your_table, rate}
    ]

  children = [
      {EasyClickhouse.Supervisor, tables: tables}
  ]

About

Accumulation and periodic sending of data to Clickhouse from Elixir apps.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages