Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RateLimiter metrics #112

Open
svroonland opened this issue Mar 11, 2021 · 0 comments
Open

RateLimiter metrics #112

svroonland opened this issue Mar 11, 2021 · 0 comments

Comments

@svroonland
Copy link
Owner

  • Distribution of time queued per call
  • Number of calls queued (sampled?)
svroonland added a commit that referenced this issue Mar 19, 2021
* Draft of rate limiter metrics

* JVM only mixin
* Histogram
* Metrics collector loop

* Refactor

* Propagate fiber failures

* Track metrics

* Tests

* Avoid issue with Chunks in throttleShape

* Rename

* Revert "Rename"

This reverts commit 91995de.

* Some docs on metrics
svroonland added a commit that referenced this issue May 24, 2021
svroonland added a commit that referenced this issue Aug 28, 2021
svroonland added a commit that referenced this issue Oct 1, 2021
* Draft of switchable policy

* Skip provide

* Rename replacePolicy to switch

* Get insight in behavior

* Implementation using a stream and cross operator

* Clean up

* Clean up

* New implementation that does not wait for in-flight calls to complete before switching

* Cleanup

* Tweak

* Cleanup

* Bump zio version

* Draft of 'finish in flight' switchable policy mode

* Test for 'finish in flight' mode

* Test for waiting for calls to finish

* Update sbt-dotty to 0.5.5 (#131)

* Update sbt to 1.5.1 (#132)

* Update sbt-microsites to 1.3.4 (#133)

* Update sbt to 1.5.2 (#134)

* Update scala-library to 2.13.6 (#135)

* Update sbt-tpolecat to 0.1.18 (#136)

* Build and test for scala 3 (#137)

* Build and test for scala 3

* Tweak

* Different

* Bump zio version

* Add scala3 to mergify

* Bump collection compat

* Remove dotty plugin

* Bump release docker

* Revert "#112 Metrics for RateLimiter (#119)"

This reverts commit 4d38b43.

* Update scala-library to 2.12.14 (#139)

* Update sbt to 1.5.3 (#140)

* Update sbt-tpolecat to 0.1.20 (#141)

* Update sbt-scalajs, scalajs-library, ... to 1.6.0 (#144)

* Update sbt to 1.5.4 (#145)

* Update sbt-assembly to 1.0.0 (#143)

* Update sbt-assembly to 1.0.0

* Update sbt-assembly to 1.0.0

* Update sbt-scalajs-crossproject to 1.1.0 (#146)

* Update sbt-ci-release-early to 2.0.17 (#147)

* Update sbt-scalafmt to 2.4.3 (#148)

* Update scala-collection-compat to 2.5.0 (#149)

* Update sbt to 1.5.5 (#151)

* Update sbt-scalajs, scalajs-compiler, ... to 1.7.0 (#154)

* Update sbt-sonatype to 3.9.9 (#156)

* Update zio-streams, zio-test, zio-test-sbt to 1.0.11 (#158)

* Fix deprecations, test interruption while switching, factor common stuff, some documentation

* Remove unneeded type parameters

* Work around type inference issue on scala 3

* Switch should accept Policy with E2 supertype of E

* Documentation fixes

Co-authored-by: Scala Steward <43047562+scala-steward@users.noreply.github.com>
svroonland added a commit that referenced this issue Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant