Iliia Khaprov

Results 26 issues of Iliia Khaprov

Add API so plugins can instrument themselves, just like main Elli does. Something generic, or just use Prometheus/Prometheus data model?

enhancement
documentation

Elvis is the Erlang style reviewer (https://github.com/inaka/elvis). Many use elvis to enforce code style (me included). There are rules related to text formatting, such as: - [Line Length](https://github.com/inaka/elvis_core/wiki/Rules#line-length); - [No...

enhancement

I think currently units used (in golang, last time I checked) for (self) documentation and in exporters (again, docs?). I think we can do better: - Automatic units conversion. If...

enhancement
stats

This was asked on Gitter and I decided to describe how we do this and start discussion of possible directions. We - use lager; - mainly use ocp; - log...

enhancement
logs

see #107 @hauleth please try it and let me know if it's enough

Now only basic variant of summary metric is implemented - with sum and count of observations. What's left: - [ ] Quantiles; - [ ] Configurable sliding window Prometheus summaries...

enhancement
backlog

Replace #62 with more portable nif (courtesy of @benoitc) (Extracted from https://gitlab.com/barrel-db/instrument, `Gauge` renamed to `Value`, `instrument` namespace to `prometheus` and target renamed from `instrument_nif` to `prometheus_nif`) **TODO** - [...

Now for handling doubles prometheus.erl uses gen_server (because there is no ets:update_counter for doubles). This PR intended to provide nif based alternative for gen_server. Benchmark for ets:update_counter-based counter: ``` Running...