aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Add URI.encode to url buildingkballou2016-06-21
| | | | | | This fixes issues with spaces being in the query string, e.g., queries like `avg(up) by (job)` would fail without running the query (and URL string) through URI.encode
* Refactor `Query` to use a pluggable http librarykballou2016-03-25
| | | | | | | * Refactor `lib/ex_prometheus_io/query.ex` use a pluggable client module * Add stub environment configs, setup `test.exs` to use a test support module
* Refactor: internally pass tupleskballou2016-03-22
| | | | | This removes the need for 3 different method heads for `process/4`, the internal query functions will handle building a correct url for processing
* Add guard to series functionkballou2016-03-22
| | | | | This function will not work down the chain unless this parameter is a list, this will make sure that it comes in as a list (or will match error)
* Refactor query modulekballou2016-03-22
| | | | Break-up processing bits to add tests
* Add Prometheus Query Operationskballou2016-03-15
| | | | These are basic fetch functions to query data from a prometheus endpoint.
* ex_prometheus_io: initial commitkballou2016-02-25