You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: oteps/profiles/0239-profiles-data-model.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -409,7 +409,7 @@ message Profile {
409
409
// should not be used to store any machine-readable information, it is only
410
410
// for human-friendly content. The profile must stay functional if this field
411
411
// is cleaned.
412
-
repeated int64 comment = 13; // Indices into string table.
412
+
repeated int64 comment = 13; // Indexes into string table.
413
413
// Index into the string table of the type of the preferred sample
414
414
// value. If unset, clients should default to the last sample value.
415
415
int64 default_sample_type = 14;
@@ -515,7 +515,7 @@ message ValueType {
515
515
// augmented with auxiliary information like the thread-id, some
516
516
// indicator of a higher level request being handled etc.
517
517
message Sample {
518
-
// The indices recorded here correspond to locations in Profile.location.
518
+
// The indexes recorded here correspond to locations in Profile.location.
519
519
// The leaf is at location_index[0]. [deprecated, superseded by locations_start_index / locations_length]
520
520
repeated uint64 location_index = 1;
521
521
// locations_start_index along with locations_length refers to to a slice of locations in Profile.location.
@@ -911,7 +911,7 @@ is cleaned.
911
911
912
912
##### Field `default_sample_type`
913
913
914
-
Indices into string table.
914
+
Indexes into string table.
915
915
Index into the string table of the type of the preferred sample
916
916
value. If unset, clients should default to the last sample value.
917
917
</details>
@@ -944,7 +944,7 @@ indicator of a higher level request being handled etc.
944
944
945
945
##### Field `location_index`
946
946
947
-
The indices recorded here correspond to locations in Profile.location.
947
+
The indexes recorded here correspond to locations in Profile.location.
948
948
The leaf is at location_index[0]. [deprecated, superseded by locations_start_index / locations_length]
949
949
950
950
##### Field `locations_start_index`
@@ -1431,7 +1431,7 @@ In the process of refining the data model, multiple alternative representations
1431
1431
1432
1432
* `pprof` representation is data in original pprof format.
1433
1433
* `denormalized` representation, where all messages are embedded and no references by index are used. This is the simplest representation, but it is also the least efficient (by a huge margin) in terms of CPU utilization, memory consumption and size of the resulting protobuf payload.
1434
-
* `normalized` representation, where messages that repeat often are stored in separate tables and are referenced by indices. See [this chapter](#relationships-between-messages) for more details. This technique reduces the size of the resulting protobuf payload and the number of objects that need to be allocated to parse such payload.
1434
+
* `normalized` representation, where messages that repeat often are stored in separate tables and are referenced by indexes. See [this chapter](#relationships-between-messages) for more details. This technique reduces the size of the resulting protobuf payload and the number of objects that need to be allocated to parse such payload.
1435
1435
* `arrays` representation, which is based on `normalized` representation, but uses arrays of integers instead of arrays of structures to represent messages. It further reduces the number of allocations, and the size of the resulting protobuf payload.
1436
1436
* `pprofextended` is a modified `pprof` representation. It is the one presented in this OTEP.
0 commit comments