Commit Graph

8 Commits

Author SHA1 Message Date
tomer doron 585a41d684
prepare to release (#1)
* prepare to release

motivation: the sswg voted to adopt the API. this is to prepare to a release

changes:
* rewrite readme
* add API docs
* add utilitiy scripts and docker setup for CI
* adjust linux tests
2019-04-08 18:58:55 -07:00
tomer doron 5c1c739969
make protocol functions data type specific
motivation: it's very beneficial for the protocols to use functions with concrete types because then there's no need for specialisation. At compile time, the compiler can often not know what concrete type will be used so it needs to create a 'generic at runtime' version of the function. If however all functions on the protocol do not use generics, there's no need for a 'generic at runtime' version of the function

changes:
* change CounterHandler::increment to take Int64 instead of <DataType: BinaryInteger>
* change RecorderHandler::record to take Int64 and Double instead of <DataType: BinaryInteger> and <DataType: BinaryFloatingPoint>
* adjust example and test implementation
* adjust docs
2019-04-05 10:30:46 -07:00
tomer doron 187653d466
address feedback (#13)
motivation: address feedback from community, prepare for moving api to official repo

changes:
* add reset method to counter
* do not force the user facing metric object to implement the mteric handler protocol. this was done for convinience and confuses matters
* adjust tests
* fix a few typos
2019-04-05 07:28:52 -07:00
tomer doron a5aa28873c
update readme to reflect API changes (#10)
motivation: prepare to final pitch to community

changes: adjust readme with latest API changes
2019-02-27 07:17:20 -08:00
Konrad `ktoso` Malawski ac6fe4405f Fix small typos in proposal README (#3)
* Fix small typo

* Slight rewording, if things are cached depends on the handler
2019-01-17 23:08:02 -08:00
Cory Benfield edb434ef6b Minor language cleanup. (#1) 2019-01-14 12:56:39 -08:00
tomer doron 3112831cb3 update readme with more details and add a simpler example for handler implementation 2019-01-10 19:50:15 -08:00
tomer doron d01123e590 initial commit 2019-01-08 13:25:21 -08:00