We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91170d7 commit 9a71015Copy full SHA for 9a71015
src/runtime/pprof/label.go
@@ -54,6 +54,8 @@ func WithLabels(ctx context.Context, labels LabelSet) context.Context {
54
// Labels takes an even number of strings representing key-value pairs
55
// and makes a LabelSet containing them.
56
// A label overwrites a prior label with the same key.
57
+// Currently only CPU profile utilizes labels information.
58
+// See https://golang.org/issue/23458 for details.
59
func Labels(args ...string) LabelSet {
60
if len(args)%2 != 0 {
61
panic("uneven number of arguments to pprof.Labels")
0 commit comments