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

fix ingestion rate limiter drifting on interval change #1132

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

rochdev
Copy link
Member

@rochdev rochdev commented Oct 22, 2020

What does this PR do?

Fix ingestion rate limiter drifting on interval change.

Motivation

The current time and the number of requested tokens were not calculated in the correct order, leading to incorrect values used on an interval change.

@rochdev rochdev added bug Something isn't working core labels Oct 22, 2020
@rochdev rochdev added this to the 0.28.0 milestone Oct 22, 2020
@rochdev rochdev requested a review from a team as a code owner October 22, 2020 22:07
bengl
bengl previously approved these changes Oct 22, 2020
@rochdev rochdev merged commit 96c17da into master Oct 23, 2020
@rochdev rochdev deleted the fix-rate-limit-drifting branch October 23, 2020 19:39
Czechh added a commit that referenced this pull request Dec 1, 2020
…rada/add-trace-to-lambda-invoke

* 'master' of github.com:DataDog/dd-trace-js:
  fix graphql plugin error when using sampling (#1164)
  v0.29.0 (#1160)
  fix mongodb integration not instrumenting correctly (#1159)
  clean up test scripts (#1158)
  fix consumer span not waiting for message ack before finishing (#1152)
  provide a way to know when flush is finished (#1154)
  add experimental option to mark internal spans on errors (#1153)
  Remove only from it, probably left in by accident (#1149)
  add support for @grpc/grpc-js (#1147)
  remove idle call frame samples from profiles (#1143)
  fix socket connect callback not running in parent scope (#1142)
  add a fast path in toArray for length-8 IDs (#1138)
  Fix GraphQL span finishTime calculation (#1139)
  v0.28.0 (#1137)
  skip browser test for setUrl (#1135)
  fix ingestion rate limiter drifting on interval change (#1132)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants