Skip to content

feat trim svc - #62

Merged
kxq3 merged 2 commits into
mainfrom
feat-trim-svc
Nov 21, 2025
Merged

feat trim svc#62
kxq3 merged 2 commits into
mainfrom
feat-trim-svc

Conversation

@kxq3

@kxq3 kxq3 commented Nov 13, 2025

Copy link
Copy Markdown
Contributor
  • feat(proto): define trim svc and enum TrimTarget
  • generated

@kxq3
kxq3 requested a review from aybabtme November 13, 2025 07:17
Comment thread proto/svc/trim/v1/service.proto Outdated
Comment thread proto/types/v1/trim.proto Outdated
@kxq3 kxq3 self-assigned this Nov 13, 2025
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
Copy Markdown
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

@kxq3
kxq3 merged commit ecefc2f into main Nov 21, 2025
4 checks passed
@kxq3
kxq3 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.

2 participants