Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
syntax = "proto3";

package sentry_protos.snuba.v1;

import "sentry_protos/snuba/v1/endpoint_time_series.proto";

message SubscriptionDetailsRequest {
// The subscription_id in format "partition/uuid"
string subscription_id = 1;
// The entity key (e.g., "events", "eap_items")
string entity_key = 2;
}

message SubscriptionDetailsResponse {
string subscription_id = 1;
string entity_key = 2;
TimeSeriesRequest time_series_request = 3;
uint32 time_window_secs = 4;
uint32 resolution_secs = 5;
int64 project_id = 6;
}
24 changes: 24 additions & 0 deletions rust/src/sentry_protos.snuba.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,30 @@ pub mod get_traces_response {
pub attributes: ::prost::alloc::vec::Vec<super::TraceAttribute>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubscriptionDetailsRequest {
/// The subscription_id in format "partition/uuid"
#[prost(string, tag = "1")]
pub subscription_id: ::prost::alloc::string::String,
/// The entity key (e.g., "events", "eap_items")
#[prost(string, tag = "2")]
pub entity_key: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubscriptionDetailsResponse {
#[prost(string, tag = "1")]
pub subscription_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub entity_key: ::prost::alloc::string::String,
#[prost(message, optional, tag = "3")]
pub time_series_request: ::core::option::Option<TimeSeriesRequest>,
#[prost(uint32, tag = "4")]
pub time_window_secs: u32,
#[prost(uint32, tag = "5")]
pub resolution_secs: u32,
#[prost(int64, tag = "6")]
pub project_id: i64,
}
/// TraceItemAttributeNamesRequest is a request to the TraceItemAttributeNames endpoint,
/// it returns the names of all queryable "TraceItemAttributes" that exist in the given projects,
/// date range, and other filters.
Expand Down
Loading