Skip to content

Conversation

colin-sentry
Copy link
Contributor

@colin-sentry colin-sentry commented Jun 2, 2025

Right now, if we have a 17kb envelope with 100 logs in it, we will record 100 * 17kb of total usage to outcomes

@colin-sentry colin-sentry requested a review from a team as a code owner June 2, 2025 18:23
@colin-sentry colin-sentry force-pushed the logs_outcome_double_counting branch from 89ec63f to ecae62d Compare June 2, 2025 18:27
category: DataCategory::LogByte,
event_id: None,
outcome: Outcome::Accepted,
quantity: payload.len() as u32,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

payload is the container here for anyone wondering why we have to do this

@colin-sentry colin-sentry enabled auto-merge (squash) June 3, 2025 15:35
@colin-sentry colin-sentry merged commit 77900e7 into master Jun 3, 2025
46 of 47 checks passed
@colin-sentry colin-sentry deleted the logs_outcome_double_counting branch June 3, 2025 15:37
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.

3 participants