Commit Graph

27 Commits

Author SHA1 Message Date
Konrad `ktoso` Malawski d09e751437 Update how we recommend including the dependency
Since otherwise current users get hit with warnings.
2021-12-17 10:36:44 +09:00
tomer doron 99a068b962 Update README.md 2021-06-21 11:24:47 +09:00
tomer doron 8ea359b532 Update README.md 2021-06-21 11:24:47 +09:00
tomer doron 2a7fd99ea8 Update README.md 2021-06-21 11:24:47 +09:00
James Sherlock c6cdc69235
[readme] Add OpenTelemetry to compatible libraries (#93)
Add OpenTelemetry to compatible libraries
2021-04-06 10:35:50 -07:00
Konrad `ktoso` Malawski 68e6cb2938 Apply suggestions from code review 2020-11-17 10:07:04 +09:00
Konrad `ktoso` Malawski c793c35d07 Apply suggestions from code review
Co-authored-by: Yim Lee <yim_lee@apple.com>
2020-11-17 10:07:04 +09:00
Konrad `ktoso` Malawski 7274cf41ef +readme Cross link to extras 2020-11-17 10:07:04 +09:00
Johannes Weiss a8db098592
Update README.md (#65) 2020-03-04 08:37:02 -08:00
tomer doron 9c047ec865 list StatsD Client 2019-09-19 11:13:06 +09:00
Joe Smith d9b74611a7 README updates (#37)
📖 Small corrections, updates to the latest API, and grammar tweaks.

Motivation:

Make sure our README is current and easy to follow.

Modifications:

Graphite is a backend for metrics, Grafana is a frontend for visualization+alerting that can be powered by many backends.
We have a tagged release.
Add a link to @MrLotU 's SwiftPrometheus (emoji optional 😄 )
Some (mostly optional) punctuation tweaks
Tried to re-word the "applications choose their backend" section so it does not use the passive voice.
Update to the latest API... do we still want to write this out this here vs. link to the auto-generated API docs? 🤔 I'm leaning toward deleting it, but there's some value in it all being present here so long as we remember to update it.
Result:

Ideally, a better README! 📖
2019-07-12 15:56:38 -07:00
tomer doron 4c24199dea update readme 1.0.0 release info (#25)
motivation: prepare for 1.0.0 release

changes: update readme with 1.0.0 release info
2019-05-06 16:02:12 -07:00
tomer doron b017e02759
add note about convergence tag (#20)
motivation: starting convergence period for swift-metrics 1.0.0 release

changes:
* add info in readme about the convergence phase/version
* format
2019-04-22 10:20:44 -07:00
tomer doron 6db51d5f32
overflow (#19)
motivation: highlight the need to address overflow in metric objects that are integer based

changes:
* add section in the readme about addressing woverflow
* fix timer's unit conversion to address potential overflow
2019-04-22 09:47:46 -07:00
Konrad `ktoso` Malawski d9f63df00c Introduce metric.destroy() to enable lifecycle management (#17)
motivation: allow middleware libraries better control of metric object lifecycle to reduce potential memory footprint when using metrics libraries that use some kind of registry or cache (eg polling backends)

changes:
* Introduce metric.destroy() to enable lifecycle management
* Add destroy functions to example impl in readme
2019-04-19 10:33:58 -07:00
Konrad `ktoso` Malawski b17a8a9f0f Fix incorrect bootstrap invocation in README (#15)
The bootstrap used to be invoked using `MyFactory.init` but nowadays we changed it to accepting an factory instance.

**Problem:**

- snippet was misleading and would not compile

**Solution:**

- change to snippet that will work with current shape of API
- make the code snippet more visible and not in-line, so it is easier to spot "so what do I need to do to bootstrap again...?"
2019-04-15 09:36:39 -07:00
tomer doron 867072f4cb
use consistent, swifty naming convention (#6)
motivation: prepare to release

changes: refer to package as SwiftMetrics across the board isntead of swift-metrics
2019-04-10 09:37:22 -07:00
tomer doron 0d1280716d
fix typo
remove redundant line
2019-04-09 09:08:41 -07:00
tomer doron 4729bac3a1
rename Counter::increment "value" parameter to "by" (#4)
* rename Counter::increment "value" parameter to "by"

motivation: nicer API signature

changes: rename Counter::increment and  CounterHandler::increment "value" parameter to "by"
2019-04-08 19:59:15 -07:00
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