Skip to content

Conversation

Dav1dde
Copy link
Member

@Dav1dde Dav1dde commented Jul 4, 2024

Span outcomes are currently off when created from rate limited transactions in the transaction_indexed category. All of the dropped outcomes are also added to the accepted, because the metrics are not dropped.

Additionally outcomes for the span category were emitted when there was a limit for transaction_indexed instead of just emitting them from span_indexed.

Implementation notes:
Need to drop the metrics based on the enforcement instead of the rate limits, because it is correct that there are no rate limits added for the inherited category. We wouldn't want to start dropping standalone spans because of a transaction quota.

@Dav1dde Dav1dde requested a review from a team as a code owner July 4, 2024 13:52
@Dav1dde Dav1dde self-assigned this Jul 4, 2024
@Dav1dde Dav1dde force-pushed the dav1d/span-outcomes branch from 23e430e to f5a61fd Compare July 4, 2024 13:53
@Dav1dde Dav1dde requested review from phacops and jjbayer July 4, 2024 13:57
@Dav1dde Dav1dde force-pushed the dav1d/span-outcomes branch from f5a61fd to 983b3a7 Compare July 4, 2024 14:07
@Dav1dde Dav1dde force-pushed the dav1d/span-outcomes branch from 983b3a7 to c434fa7 Compare July 4, 2024 14:10
@Dav1dde Dav1dde enabled auto-merge (squash) July 5, 2024 07:35
@Dav1dde Dav1dde merged commit 906a14e into master Jul 5, 2024
@Dav1dde Dav1dde deleted the dav1d/span-outcomes branch July 5, 2024 08:07
jan-auer added a commit that referenced this pull request Jul 8, 2024
* master:
  feat(getter): Add logentry getter to event (#3796)
  feat(rule-condition): Add `any` and `all` loop conditions (#3791)
  ref(normalization): Remove normalization debug metrics (#3786)
  fix(redis): Fix Redis data corruption on connection timeout (#3792)
  fix(spans): Fixes span outcomes and inherited rate limits (#3793)
  build(py): Update craft to use new manylinux wheels (#3789)
0Calories pushed a commit that referenced this pull request Jul 11, 2024
Span outcomes are currently off when created from rate limited
transactions in the `transaction_indexed` category. All of the dropped
outcomes are also added to the accepted, because the metrics are not
dropped.

Additionally outcomes for the span category were emitted when there was
a limit for `transaction_indexed` instead of just emitting them from
`span_indexed`.

Implementation notes:
Need to drop the metrics based on the enforcement instead of the rate
limits, because it is correct that there are no rate limits added for
the inherited category. We wouldn't want to start dropping standalone
spans because of a transaction quota.
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

Successfully merging this pull request may close these issues.

2 participants