Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,17 @@ message TraceItemAttributeValuesRequest {
// TraceItemAttributeValuesResponse is a response from the TraceItemAttributeValues endpoint
// it is the counterpart to TraceItemAttributesRequest
message TraceItemAttributeValuesResponse {
message ValueData {
AttributeValue value = 1;
int64 count = 2;
google.protobuf.Timestamp last_seen = 3;
}
// deprecated, returns ValueData instead
repeated string values = 1 [deprecated = true];
repeated int64 counts = 3 [deprecated = true];

// all the values that matched the criteria specified in the request
repeated string values = 1;
repeated int64 counts = 3;
repeated ValueData value_data = 4;

// page token for the next page of results
PageToken page_token = 6;
Expand Down
23 changes: 21 additions & 2 deletions rust/src/sentry_protos.snuba.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2238,18 +2238,37 @@ pub mod trace_item_attribute_values_request {
/// it is the counterpart to TraceItemAttributesRequest
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TraceItemAttributeValuesResponse {
/// all the values that matched the criteria specified in the request
/// deprecated, returns ValueData instead
#[deprecated]
#[prost(string, repeated, tag = "1")]
pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(int64, repeated, tag = "3")]
#[deprecated]
#[prost(int64, repeated, packed = "false", tag = "3")]
pub counts: ::prost::alloc::vec::Vec<i64>,
/// all the values that matched the criteria specified in the request
#[prost(message, repeated, tag = "4")]
pub value_data: ::prost::alloc::vec::Vec<
trace_item_attribute_values_response::ValueData,
>,
/// page token for the next page of results
#[prost(message, optional, tag = "6")]
pub page_token: ::core::option::Option<PageToken>,
/// metadata about the response
#[prost(message, optional, tag = "7")]
pub meta: ::core::option::Option<ResponseMeta>,
}
/// Nested message and enum types in `TraceItemAttributeValuesResponse`.
pub mod trace_item_attribute_values_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ValueData {
#[prost(message, optional, tag = "1")]
pub value: ::core::option::Option<super::AttributeValue>,
#[prost(int64, tag = "2")]
pub count: i64,
#[prost(message, optional, tag = "3")]
pub last_seen: ::core::option::Option<::prost_types::Timestamp>,
}
}
/// This is a request to the TraceItemDetails endpoint,
/// it is used to query for TraceItems (ex. spans or logs)
/// it returns all of the information for a specific trace item.
Expand Down
Loading