Skip to content

feat: Implement stub subcription endpoints#382

Merged
wedamija merged 2 commits into
masterfrom
subscription_stub_endpoints
Aug 2, 2019
Merged

feat: Implement stub subcription endpoints#382
wedamija merged 2 commits into
masterfrom
subscription_stub_endpoints

Conversation

@wedamija

@wedamija wedamija commented Aug 1, 2019

Copy link
Copy Markdown
Member

This introduces stubbed subscription endpoints, based on the spec we've discussed previously. Mostly for testing the integration from sentry.

@wedamija
wedamija requested a review from tkaemming August 1, 2019 01:35
@wedamija wedamija self-assigned this Aug 1, 2019
Comment thread snuba/api.py Outdated

@tkaemming tkaemming left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks generally fine to me, implementation-wise. We might end up moving the dataset parameter to the URL (e.g. /<dataset_name>/subscriptions), so going to hold off on approving until we've got that figured out. Feel free to test your stuff against this branch until then.

Comment thread snuba/api.py Outdated

@tkaemming tkaemming left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lets put these behind the if application.debug or application.testing check on L372 until we've actually implemented the bodies, but otherwise this is good.

We're punting on the URL thing until we have put more thought into how JOIN is going to work, so this will be fine. This might change in the future though — worst case we can route the request internally to the new URL for a while (as long as the request body is valid) until you have time to change your side when that happens.

@wedamija

wedamija commented Aug 2, 2019

Copy link
Copy Markdown
Member Author

We're punting on the URL thing until we have put more thought into how JOIN is going to work, so this will be fine. This might change in the future though — worst case we can route the request internally to the new URL for a while (as long as the request body is valid) until you have time to change your side when that happens.

Yeah it's nbd to change the urls I'm hitting as long as we have the old one available in the short term.

@wedamija
wedamija force-pushed the subscription_stub_endpoints branch from d1b5996 to 8f07345 Compare August 2, 2019 18:25
This introduces stubbed subscription endpoints, based on the spec we've discussed previously. Mostly
for testing the integration from sentry.
@wedamija
wedamija force-pushed the subscription_stub_endpoints branch from 8f07345 to e7e71aa Compare August 2, 2019 18:26
@wedamija
wedamija requested a review from tkaemming August 2, 2019 18:26

@tkaemming tkaemming left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@wedamija
wedamija merged commit f452774 into master Aug 2, 2019
@wedamija
wedamija deleted the subscription_stub_endpoints branch August 2, 2019 18:53
phacops pushed a commit that referenced this pull request Jun 10, 2026
## Bump sentry-conventions to 0.11.0

Updates `sentry-conventions` from 0.10.0 to
[0.11.0](https://github.com/getsentry/sentry-conventions/releases/tag/0.11.0).

### Changes in 0.11.0

**New Features**
- Add `session.id` attribute (#412)
- Update several attributes to latest OTel representation (#418)
- Add `db.operation.batch.size` (#407)
- Add `app.vitals.start.prewarmed` attribute (#379)
- Add and deprecate runtime context attributes (#383)
- Add Android Runtime (ART) GC and memory attributes (#382)
- Add `db.stored_procedure.name` and ensure span name attribute
consistency (#398)
- Add Cloudflare SDK attributes (#392)
- Add missing GCP and FaaS attributes (#403)

**Bug Fixes**
- Set `pii: 'maybe'` on `faas` string attributes (#415)
- Add missing Cloudflare visibility attributes (#408)

**Internal**
- Remove `sdks` field from attribute schema and definitions (#410)
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