Skip to content

Commit

Permalink
Clarify that labels with pprof:: prefix are reserved for pprof use. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexand authored Nov 1, 2023
1 parent ff6d637 commit 4ca4178
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion proto/profile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ message Sample {
}

message Label {
int64 key = 1; // Index into string table
// Index into string table. An annotation for a sample (e.g.
// "allocation_size") with an associated value.
// Keys with "pprof::" prefix are reserved for internal use by pprof.
int64 key = 1;

// At most one of the following must be present
int64 str = 2; // Index into string table
Expand Down

0 comments on commit 4ca4178

Please sign in to comment.