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

flag(ourlogs): Add product feature flag (frontend/backend) #81930

Merged
merged 5 commits into from
Jan 16, 2025
Merged

Conversation

k-fish
Copy link
Member

@k-fish k-fish commented Dec 10, 2024

The classic start to every project.

@k-fish k-fish requested a review from a team December 10, 2024 20:40
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 10, 2024
Copy link
Member

@wmak wmak left a comment

Choose a reason for hiding this comment

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

slogs

@getsantry
Copy link
Contributor

getsantry bot commented Jan 1, 2025

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot removed the Stale label Jan 2, 2025
@k-fish k-fish changed the title flag(slogs): Add product feature flag (frontend/backend) flag(ourlogs): Add product feature flag (frontend/backend) Jan 14, 2025
Copy link
Member

@Dav1dde Dav1dde left a comment

Choose a reason for hiding this comment

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

I assume you'll have to add the feature flag to librelay first otherwise tests should be failing (we'll see in a few minutes) because Relay does not know about the feature flag.

src/sentry/relay/config/__init__.py Show resolved Hide resolved
@k-fish k-fish merged commit 0b50991 into master Jan 16, 2025
49 checks passed
@k-fish k-fish deleted the slogs/flag-it branch January 16, 2025 17:00
k-fish added a commit to getsentry/relay that referenced this pull request Jan 20, 2025
This adds log ingestion (currently only working for the OTel log format)
behind a feature flag 'organizations:ourlogs-ingestion'.

This PR aims to be the minimum possible to support local and test-org
ingestion before we move to dogfooding.

![Screenshot 2025-01-15 at 1 26
49 PM](https://github.com/user-attachments/assets/45f0be20-05d8-45b4-988c-d00327fc2e9c)


Other notes:
- We need to add two `DataCategory`s because we need to track quantity
(for current discarded breadcrumb client outcome tracking) and also
bytes for total log bytes ingested, which is one of the quota
recommendations.
- Eventually we will convert Breadcrumbs into logs as well, very similar
to span extraction for spans on the event. How exactly that will work is
still being discussed with product and sdk folks.
- The name `ourlogs` is an internal name to disambiguate between 'our
log product' logs (corny, I know) and internally created logs. User
facing strings will be set to 'Log' to avoid exposing implementation
details.
- Depends on getsentry/sentry#81930 for the
ingest feature flag.
andrewshie-sentry pushed a commit that referenced this pull request Jan 22, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Feb 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants