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 @@ -36,6 +36,12 @@ message GetUsageResponse {
repeated DailySeatUsage seat_days = 3;

repeated CategorySeatUsage seats = 2 [deprecated = true]; // DEPRECATED: use seat_days

// The latest timestamp of usage data included in this response (inclusive
// — there is at least one row at exactly this timestamp). Callers persist
// this as the contract's watermark; subsequent queries should resume
// strictly after this timestamp to avoid double-counting the boundary.
optional google.protobuf.Timestamp last_usage_ts = 4;
}

message GetUsageRequest {
Expand Down
6 changes: 6 additions & 0 deletions rust/src/sentry_protos.billing.v1.services.usage.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ pub struct GetUsageResponse {
#[deprecated]
#[prost(message, repeated, tag = "2")]
pub seats: ::prost::alloc::vec::Vec<CategorySeatUsage>,
/// The latest timestamp of usage data included in this response (inclusive
/// — there is at least one row at exactly this timestamp). Callers persist
/// this as the contract's watermark; subsequent queries should resume
/// strictly after this timestamp to avoid double-counting the boundary.
#[prost(message, optional, tag = "4")]
pub last_usage_ts: ::core::option::Option<::prost_types::Timestamp>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetUsageRequest {
Expand Down
Loading