28 Commits

Author SHA1 Message Date
Jari (LotU) 688e1fd540 Release 1.0.0 (#69)
* Sanitize Dimensions (#68)

* Add failing test for sanitising dimension

* Fix test

* Add new DimensionsSanitizer

* Remove labels parametrisation (#63)

* Stop leaking 'le', 'quantile' in Summary/Histogram labels, remove labels parametrisation

* chore: Remove base labels protocol and add ExpressibleByArrayLiteral

* chore: Cleanup documentation. Remove deprecations

Co-authored-by: Jari (LotU) <j.koopman@jarict.nl>

* Add async/await APIs (#67)

* Add async/await APIs

* Revert unrelated change

* Add #if swift for 5.2

* Fix Swift version number check

* Add task API

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Co-authored-by: Anton <avolokhov@apple.com>
2022-06-20 13:33:40 +02:00
MrLotU daf102f0c9 Fix label equality issue 2021-08-02 14:01:43 +02:00
Anton a5671bad70 Histogram backed timer (#46)
* implement histogram backed timer

* hide timer implementation enum; namespace PrometheusMetricsFactory classes

* address review

* fix test testHistogramBackedTimer_scaleFromNanoseconds

* address PR review comments
2021-04-30 11:51:05 +02:00
Jari (LotU) 48b181744a Get Gauge up to spec (#27)
* Get Gauge up to spec

* Update wording remarks
2019-12-04 16:34:59 +01:00
Jari (LotU) 01b4acc136 Get metric promises (#12)
* Update to promises

* Minor cleanup

* NIO 2

* Byte Buffers & no promises

* Move ByteBuffer methods to extensions and (temp) remove Swift 4 tests

* NIO Bump & docs

* Add some helpers & update test wording
2019-08-27 10:50:10 +02:00
Joe Smith 26128570e3 Merge Prometheus and PrometheusMetrics so we're only using one library instead of two 2019-07-10 14:54:42 -07:00
MrLotU bb6db844c3 Remove docs & update getMetrics() 2019-07-05 10:03:37 +02:00
MrLotU 984e26de67 Address comments 2019-07-04 14:27:57 +02:00
MrLotU cd98111e9b Tests! 🎉
Finalize

Final docs update

Remove info
2019-06-07 17:10:07 -07:00
MrLotU 64af6ea95a Imp recorders & timers
Imp examples
2019-06-07 17:08:15 -07:00
MrLotU 9c7166102c Make counters function 2019-06-07 17:08:15 -07:00
MrLotU b59fd7ed06 WIP 2019-06-07 17:08:15 -07:00
MrLotU 12a55f1567 Update a whole buch of things & 100% doc coverage
Signed-off-by: MrLotU <j.koopman@jarict.nl>
2019-06-07 17:08:14 -07:00
MrLotU 037582f68f .
Signed-off-by: MrLotU <j.koopman@jarict.nl>
2019-06-07 17:08:14 -07:00
MrLotU ac83a7af30 Rebase 2019-06-07 17:06:08 -07:00
MrLotU f1bc21d7e7 Add a whole bunch of queue statements 2019-01-02 17:16:36 +01:00
MrLotU de124dbea1 README & GH Templates
Signed-off-by: MrLotU <j.koopman@jarict.nl>
2018-12-10 19:10:36 +01:00
MrLotU c654c5a148 Add Info 2018-11-18 13:16:30 +01:00
MrLotU 317b719b41 Fixup error in Counter/Gauge 2018-11-18 12:30:02 +01:00
MrLotU a1455d8ada Workable code, that needs cleaning up 2018-11-18 12:16:39 +01:00
MrLotU 3d5d06d5d2 Make summary label-able 2018-11-18 11:59:04 +01:00
MrLotU 18d0d7a20c Wrap most functionality 2018-11-18 11:09:38 +01:00
MrLotU ec3d756531 Cleanup and start on final integration 2018-11-17 21:26:13 +01:00
MrLotU 3b787129a2 Wrap summary 2018-11-17 20:56:54 +01:00
MrLotU 83b6679402 Implement Summary? 2018-11-17 20:48:41 +01:00
MrLotU 4af35760ad Update "custom" encoding/decoding 2018-11-17 19:15:14 +01:00
MrLotU 7a5ca3f638 Wrap histograms 2018-11-17 18:41:00 +01:00
MrLotU 9c66897eb0 First version 2018-11-17 18:30:08 +01:00