{"repo":"GameAnalytics/panoramix","free":true,"listed":false,"github":"https://github.com/GameAnalytics/panoramix","clone":"git clone https://github.com/GameAnalytics/panoramix.git","description":"Apache Druid client for Elixir","language":"Elixir","stars":44,"topics":["olap","druid","elixir","erlang","timeseries","druid-io","real-time","analytics"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Panoramix An open-source client library for sending requests to [Apache Druid][druid] from applications written in Elixir. The project uses [HTTPoison][httpoison] as an HTTP client for sending queries. [druid]: http://druid.io/ [httpoison]: https://github.com/edgurgel/httpoison Getting Started Add Panoramix as a dependency to your project. Configuration Panoramix requires a Druid Broker profile to be defined in the configuration of your application. request timeout : Query timeout in millis to be used in [ Context ][context-druid-doc-link] of all Druid queries. query priority : Priority to be used in [ Context ][context-druid-doc-link] of all Druid queries. httpoison module : Module to call when making HTTP requests. Defaults to HTTPoison if not specified, but you can provide a custom wrapper module if you wish. See HTTPoison.Base for examples. [context-druid-doc-link]: http://druid.io/docs/latest/querying/query-context.html The cacertfile option in the broker profile names a file that contains the CA certificate for the Druid broker. Alternatively you can specify the certificate as a string in PEM format (starting with -----BEGIN CERTIFICATE----- ) in the cacert option. Usage Build a query like this: And then send it: Where :default is a configuration profile pointing to your Druid server. The default value for the profile argument is :default , so if you only need a single configuration you can omit it: Response example: To make a nested query, pass a map of the form %{type","default_branch":null,"files":null,"tree":[],"storefront":"/r/GameAnalytics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GameAnalytics/panoramix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}