akoutmos / prom_ex

An Elixir Prometheus metrics collection library built on top of Telemetry with accompanying Grafana dashboards
MIT License
577 stars 96 forks source link

ft: implement pluggable storage #240

Open hauleth opened 1 week ago

hauleth commented 1 week ago

Change description

Preliminary work for supporting different storages beyond telemetry_metrics_prometheus_core.

What problem does this solve?

Support implementing alternative storage backends (like Peep) for users that require different performance characteristics.

Checklist

hauleth commented 1 week ago

@akoutmos I tried running tests locally, but with Elixir 1.16.3 (compiled with Erlang/OTP 25) it fails due to ssl_verify_fun errors, and when I update dependencies it fails for different set of reasons.

akoutmos commented 1 week ago

Thanks for the contribution! I'm away from my machine today but can look deeper into the ssl_verify_fun issues tomorrow. For now I kicked off CI to validate the changes.

coveralls commented 1 week ago

Coverage Status

coverage: 78.835% (+0.1%) from 78.698% when pulling 6a81402af270b12a1b2052d4549d8599298cbf13 on hauleth:ft/setup-puggable-storages into 1f6467c2cd8b5a326d15d7001eac8ffe1e32030c on akoutmos:master.