File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -813,6 +813,7 @@ message Fragment {
813
813
FragmentVisibility visibility = 12 ;
814
814
// latest timestamp when fragment was updated
815
815
google.protobuf.Timestamp last_updated = 13 [(tagger.v1.tags ) = "bson:\"last_updated_at\"" ];
816
+ repeated FragmentTag tags = 14 ;
816
817
}
817
818
818
819
message FragmentHistoryEntry {
@@ -855,12 +856,16 @@ enum FragmentErrorType {
855
856
FRAGMENT_ERROR_TYPE_CYCLE_DETECTED = 4 ;
856
857
}
857
858
859
+ message FragmentUsageStats {
860
+ int32 organizations = 1 ;
861
+ int32 machines = 2 ;
862
+ int32 machines_in_current_org = 3 ;
863
+ }
864
+
858
865
message FragmentUsage {
859
866
string fragment_id = 1 ;
860
- int32 organizations = 2 ;
861
- int32 machines = 3 ;
862
- int32 machines_in_current_org = 4 ;
863
- string version = 5 ;
867
+ FragmentUsageStats overall_usage = 2 ;
868
+ map <string , FragmentUsageStats > usage_by_version = 3 ;
864
869
}
865
870
866
871
message ResolvedFragment {
@@ -888,9 +893,8 @@ message GetFragmentRequest {
888
893
889
894
message GetFragmentResponse {
890
895
Fragment fragment = 1 ;
891
- repeated FragmentUsage usages = 2 ;
896
+ FragmentUsage fragment_usage = 2 ;
892
897
repeated FragmentVersion versions = 3 ;
893
- repeated FragmentTag tags = 4 ;
894
898
}
895
899
896
900
message CreateFragmentRequest {
You can’t perform that action at this time.
0 commit comments