| 1 | // Copyright 2020 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package keysscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/ |
| 6 | |
| 7 | var ( |
| 8 | // Msg is a key used to add message strings to label lists. |
| 9 | Msgscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/Msg. = NewStringscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/NewString().("message", "a readable message") |
| 10 | // Label is a key used to indicate an event adds labels to the context. |
| 11 | Labelscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/Label. = NewTagscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/NewTag().("label", "a label context marker") |
| 12 | // Start is used for things like traces that have a name. |
| 13 | Startscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/Start. = NewStringscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/NewString().("start", "span start") |
| 14 | // Metric is a key used to indicate an event records metrics. |
| 15 | Endscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/End. = NewTagscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/NewTag().("end", "a span end marker") |
| 16 | // Metric is a key used to indicate an event records metrics. |
| 17 | Detachscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/Detach. = NewTagscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/NewTag().("detach", "a span detach marker") |
| 18 | // Err is a key used to add error values to label lists. |
| 19 | Errscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/Err. = NewErrorscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/NewError().("error", "an error that occurred") |
| 20 | // Metric is a key used to indicate an event records metrics. |
| 21 | Metricscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/Metric. = NewTagscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/event/keys`/NewTag().("metric", "a metric event marker") |
| 22 | ) |