Repository navigation
feat(billing): share Seer billing feature identifiers #521
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3d9694c
feat(billing): share Seer billing feature identifiers
sehr-m e7cb6b1
chore: Regenerate Rust bindings
getsantry[bot] 91ae02b
add comment
sehr-m 9854adb
chore: Regenerate Rust bindings
getsantry[bot] 139701c
docs(billing): document agentic triage attribution in schema
sehr-m File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
57 changes: 57 additions & 0 deletions
57
proto/sentry_protos/billing/v1/common/v1/seer_billing_feature.proto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| syntax = "proto3"; | ||
|
|
||
| package sentry_protos.billing.v1.common.v1; | ||
|
|
||
| // Identifies the feature responsible for Seer usage, independently of the | ||
| // program executing the work. Whether usage is chargeable is billing policy. | ||
| // Set by trusted server entrypoints; persisted attribution is preserved for | ||
| // subsequent operations on the same run. | ||
| // For concrete values, the billing/proxy label is the lowercase enum name | ||
| // with the SEER_BILLING_FEATURE_ prefix removed. | ||
| enum SeerBillingFeature { | ||
| // Missing attribution, not a real feature or a billing exemption. | ||
| // New runs must provide a concrete feature. Legacy runs need an explicit | ||
| // compatibility fallback in the consuming application. | ||
| SEER_BILLING_FEATURE_UNSPECIFIED = 0; | ||
|
|
||
| SEER_BILLING_FEATURE_AUTOFIX_WEB = 1; | ||
| SEER_BILLING_FEATURE_AUTOFIX_HEADLESS = 2; | ||
| SEER_BILLING_FEATURE_AUTOFIX_INTEGRATIONS = 3; | ||
| SEER_BILLING_FEATURE_AUTOFIX_AGENTIC_TRIAGE = 4; | ||
| SEER_BILLING_FEATURE_AUTOFIX_POST_PROCESS = 5; | ||
|
|
||
| SEER_BILLING_FEATURE_SEER_AGENT = 6; | ||
| SEER_BILLING_FEATURE_SEER_AGENT_SLACK = 7; | ||
| SEER_BILLING_FEATURE_SEER_AGENT_SUGGESTIONS = 8; | ||
| // Refers to the actual triage process, whereas AUTOFIX_AGENTIC_TRIAGE | ||
| // is the Autofix run started after triaging. | ||
| SEER_BILLING_FEATURE_AGENTIC_TRIAGE = 9; | ||
| SEER_BILLING_FEATURE_RUN_QUESTIONS = 10; | ||
| SEER_BILLING_FEATURE_INVESTIGATIONS = 11; | ||
|
|
||
| SEER_BILLING_FEATURE_SMART_ASSIGNMENT = 12; | ||
| SEER_BILLING_FEATURE_MONITOR_CLEANUP = 13; | ||
| SEER_BILLING_FEATURE_IMPACT_ASSESSMENT = 14; | ||
| SEER_BILLING_FEATURE_DASHBOARD_GENERATION = 15; | ||
| SEER_BILLING_FEATURE_CONTEXT_INDEXING = 16; | ||
| SEER_BILLING_FEATURE_ISSUE_SUMMARY = 17; | ||
| SEER_BILLING_FEATURE_FIXABILITY = 18; | ||
| SEER_BILLING_FEATURE_USER_FEEDBACK = 19; | ||
| SEER_BILLING_FEATURE_REPLAY_SUMMARY = 20; | ||
| SEER_BILLING_FEATURE_ISSUE_VIEW_TITLE = 21; | ||
| SEER_BILLING_FEATURE_EXTERNAL_ISSUE_DETAILS = 22; | ||
| SEER_BILLING_FEATURE_UPTIME_ASSERTIONS = 23; | ||
| SEER_BILLING_FEATURE_ISSUE_DETECTION = 24; | ||
| SEER_BILLING_FEATURE_LOW_VALUE_SPANS = 25; | ||
| SEER_BILLING_FEATURE_MALICIOUS_ISSUE_DETECTION = 26; | ||
|
|
||
| SEER_BILLING_FEATURE_CODE_REVIEW = 27; | ||
| SEER_BILLING_FEATURE_PR_METRICS = 28; | ||
| SEER_BILLING_FEATURE_ASSISTED_QUERY = 29; | ||
| SEER_BILLING_FEATURE_EVALS = 30; | ||
| SEER_BILLING_FEATURE_AI_MONITORING = 31; | ||
| SEER_BILLING_FEATURE_INBOUND_FILTERS = 32; | ||
| SEER_BILLING_FEATURE_SEVERITY = 33; | ||
| SEER_BILLING_FEATURE_GROUPING = 34; | ||
| SEER_BILLING_FEATURE_MODEL_TRAINING = 35; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be worth a quick comment differentiating this from
SEER_BILLING_FEATURE_AGENTIC_TRIAGE