Skip to content

Conversation

@KevRiver
Copy link
Contributor

  • feat(proto): define trim svc and enum TrimTarget
  • generated

Comment on lines +31 to +51
message TrimRequest {
message BySize {
optional uint64 log_size = 1;
optional uint64 span_size = 2;
optional uint64 metric_size = 3;
}
message ByTime {
optional google.protobuf.Timestamp oldest_log = 1;
optional google.protobuf.Timestamp oldest_span = 2;
optional google.protobuf.Timestamp oldest_metric = 3;
}
int64 environment_id = 1;
oneof by {
BySize size = 2;
ByTime time = 3;
}
}

message TrimResponse {
uint64 trimmed = 1;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@aybabtme add Trim rpc in EnvironmentService

@KevRiver KevRiver merged commit ecefc2f into main Nov 21, 2025
4 checks passed
@KevRiver KevRiver deleted the feat-trim-svc branch November 21, 2025 05:31
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