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

Adding DataCategory::MetricHour #3384

Merged
merged 5 commits into from
Apr 9, 2024
Merged

Adding DataCategory::MetricHour #3384

merged 5 commits into from
Apr 9, 2024

Conversation

corps
Copy link
Contributor

@corps corps commented Apr 5, 2024

Adds the DataCategory METRIC_HOUR, a category that revenue will use in future outcomes consume that summarizes metric usage by hour buckets with the product Max Metric Tenancy X Max Metric Cardinality

Relevant tech specs:

https://www.notion.so/sentry/Metric-Hour-Pricing-2817cfeb664b47418bc82b397638b75c
https://www.notion.so/sentry/Billing-for-Metrics-552b2f6dcf9b4bb48ae7732afd14ddc3

I think I got everything, let me know if something was missed!

@corps corps requested review from brianthi, vbro and a team April 5, 2024 19:46
@@ -1,6 +1,6 @@
[package]
name = "relay-cabi"
version = "0.8.56"
version = "0.8.57"
Copy link

@vbro vbro Apr 5, 2024

Choose a reason for hiding this comment

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

The version change seems to be done automatically by a bot.
Otherwise LGTM. I'll let Ingest give the final approval.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah ok, so then I'll revert this part?

Copy link
Member

Choose a reason for hiding this comment

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

Correct, the release is done with a github action.

Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

LGTM, see remaining review comments!

@corps corps merged commit 9856073 into master Apr 9, 2024
20 checks passed
@corps corps deleted the zc/add-metric-hour branch April 9, 2024 18:02
mbauer404 added a commit that referenced this pull request May 7, 2024
A new DataCategory for METRIC_HOUR was added in
[#3384](#3384) that revenue will
use in future outcomes consumer that summarizes metric usage. It was
determined that we will be storing usage based on second buckets instead
of hour buckets, so we are updating the data category to reflect that.

The data category is not being used in sentry/getsentry yet.

Relevant tech specs:


https://www.notion.so/sentry/Metric-Hour-Pricing-2817cfeb664b47418bc82b397638b75c

https://www.notion.so/sentry/Billing-for-Metrics-552b2f6dcf9b4bb48ae7732afd14ddc3
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.

4 participants