type go.opencensus.io/tag.Key
67 uses
go.opencensus.io/tag (current package)
key.go#L19: type Key struct {
key.go#L25: func NewKey(name string) (Key, error) {
key.go#L27: return Key{}, errInvalidKeyName
key.go#L29: return Key{name: name}, nil
key.go#L33: func MustNewKey(name string) Key {
key.go#L42: func (k Key) Name() string {
map.go#L27: Key Key
map.go#L39: m map[Key]tagContent
map.go#L43: func (m *Map) Value(k Key) (string, bool) {
map.go#L55: keys := make([]Key, 0, len(m.m))
map.go#L70: func (m *Map) insert(k Key, v string, md metadatas) {
map.go#L77: func (m *Map) update(k Key, v string, md metadatas) {
map.go#L83: func (m *Map) upsert(k Key, v string, md metadatas) {
map.go#L87: func (m *Map) delete(k Key) {
map.go#L92: return &Map{m: make(map[Key]tagContent)}
map.go#L107: func Insert(k Key, v string, mds ...Metadata) Mutator {
map.go#L126: func Update(k Key, v string, mds ...Metadata) Mutator {
map.go#L146: func Upsert(k Key, v string, mds ...Metadata) Mutator {
map.go#L175: func Delete(k Key) Mutator {
map_codec.go#L195: func DecodeEach(bytes []byte, fn func(key Key, val string, md metadatas)) error {
go.opencensus.io/plugin/ocgrpc
client_metrics.go#L43: TagKeys: []tag.Key{KeyClientMethod},
client_metrics.go#L51: TagKeys: []tag.Key{KeyClientMethod},
client_metrics.go#L59: TagKeys: []tag.Key{KeyClientMethod},
client_metrics.go#L67: TagKeys: []tag.Key{KeyClientMethod, KeyClientStatus},
client_metrics.go#L75: TagKeys: []tag.Key{KeyClientMethod},
client_metrics.go#L83: TagKeys: []tag.Key{KeyClientMethod},
client_metrics.go#L91: TagKeys: []tag.Key{KeyClientMethod},
server_metrics.go#L46: TagKeys: []tag.Key{KeyServerMethod},
server_metrics.go#L54: TagKeys: []tag.Key{KeyServerMethod},
server_metrics.go#L61: TagKeys: []tag.Key{KeyServerMethod},
server_metrics.go#L69: TagKeys: []tag.Key{KeyServerMethod, KeyServerStatus},
server_metrics.go#L77: TagKeys: []tag.Key{KeyServerMethod},
server_metrics.go#L85: TagKeys: []tag.Key{KeyServerMethod},
go.opencensus.io/plugin/ochttp
stats.go#L143: TagKeys: []tag.Key{KeyClientMethod, KeyClientStatus},
stats.go#L151: TagKeys: []tag.Key{KeyClientMethod, KeyClientStatus},
stats.go#L159: TagKeys: []tag.Key{KeyClientMethod, KeyClientStatus},
stats.go#L167: TagKeys: []tag.Key{KeyClientMethod, KeyClientStatus},
stats.go#L209: TagKeys: []tag.Key{Method},
stats.go#L218: TagKeys: []tag.Key{StatusCode},
stats.go#L258: TagKeys: []tag.Key{Method},
stats.go#L266: TagKeys: []tag.Key{StatusCode},
go.opencensus.io/stats/view
collector.go#L45: func (c *collector) collectedRows(keys []tag.Key) []*Row {
collector.go#L61: func encodeWithKeys(m *tag.Map, keys []tag.Key) []byte {
collector.go#L74: func decodeTags(buf []byte, keys []tag.Key) []tag.Tag {
view.go#L41: TagKeys []tag.Key
contrib.go.opencensus.io/exporter/stackdriver
stats.go#L578: func newLabelDescriptors(defaults map[string]labelValue, keys []tag.Key) []*labelpb.LabelDescriptor {
contrib.go.opencensus.io/integrations/ocsql
observability.go#L82: TagKeys: []tag.Key{GoSQLMethod, GoSQLError, GoSQLStatus},
observability.go#L90: TagKeys: []tag.Key{GoSQLMethod, GoSQLError, GoSQLStatus},
golang.org/x/pkgsite/cmd/prober
main.go#L184: TagKeys: []tag.Key{keyName, keyStatus},
main.go#L192: TagKeys: []tag.Key{keyName, keyStatus},
golang.org/x/pkgsite/internal/dcensus
dcensus.go#L204: TagKeys: []tag.Key{ochttp.Method},
dcensus.go#L211: TagKeys: []tag.Key{ochttp.StatusCode, ochttp.KeyServerRoute},
dcensus.go#L218: TagKeys: []tag.Key{ochttp.KeyServerRoute},
dcensus.go#L225: TagKeys: []tag.Key{ochttp.KeyServerRoute},
dcensus.go#L238: func RecordWithTag(ctx context.Context, key tag.Key, val string, m stats.Measurement) {
golang.org/x/pkgsite/internal/fetch
fetch.go#L66: TagKeys: []tag.Key{dcensus.KeyStatus},
fetch.go#L74: TagKeys: []tag.Key{dcensus.KeyStatus},
golang.org/x/pkgsite/internal/frontend
details.go#L114: TagKeys: []tag.Key{keyVersionType},
fetch.go#L69: TagKeys: []tag.Key{keyFetchStatus},
fetch.go#L77: TagKeys: []tag.Key{keyFetchStatus},
golang.org/x/pkgsite/internal/middleware
caching.go#L53: TagKeys: []tag.Key{keyCacheName, keyCacheHit},
caching.go#L60: TagKeys: []tag.Key{keyCacheName, keyCacheHit},
caching.go#L67: TagKeys: []tag.Key{keyCacheName, keyCacheOperation},
quota.go#L40: TagKeys: []tag.Key{keyQuotaBlocked},
golang.org/x/pkgsite/internal/postgres
search.go#L47: TagKeys: []tag.Key{keySearchSource},
search.go#L55: TagKeys: []tag.Key{keySearchSource},
golang.org/x/pkgsite/internal/worker
metrics.go#L32: TagKeys: []tag.Key{keyEnqueueStatus},
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |