func go.opencensus.io/tag.Upsert
31 uses
go.opencensus.io/tag (current package)
map.go#L146: func Upsert(k Key, v string, mds ...Metadata) Mutator {
go.opencensus.io/plugin/ocgrpc
server_stats_handler.go#L44: ctx, _ = tag.New(ctx, tag.Upsert(KeyServerMethod, methodName(info.FullMethodName)))
stats_common.go#L150: tag.Upsert(KeyClientMethod, methodName(d.method)),
stats_common.go#L151: tag.Upsert(KeyClientStatus, st)),
stats_common.go#L162: tag.Upsert(KeyServerStatus, st),
go.opencensus.io/plugin/ochttp
client_stats.go#L37: tag.Upsert(KeyClientHost, req.Host),
client_stats.go#L38: tag.Upsert(Host, req.Host),
client_stats.go#L39: tag.Upsert(KeyClientPath, req.URL.Path),
client_stats.go#L40: tag.Upsert(Path, req.URL.Path),
client_stats.go#L41: tag.Upsert(KeyClientMethod, req.Method),
client_stats.go#L42: tag.Upsert(Method, req.Method))
client_stats.go#L119: tag.Upsert(StatusCode, strconv.Itoa(t.statusCode)),
client_stats.go#L120: tag.Upsert(KeyClientStatus, strconv.Itoa(t.statusCode)),
route.go#L29: a.t = append(a.t, tag.Upsert(KeyServerRoute, route))
route.go#L37: addRoute := []tag.Mutator{tag.Upsert(KeyServerRoute, route)}
server.go#L151: tag.Upsert(Host, r.Host),
server.go#L152: tag.Upsert(Path, r.URL.Path),
server.go#L153: tag.Upsert(Method, r.Method))
server.go#L201: allTags[0] = tag.Upsert(StatusCode, strconv.Itoa(t.statusCode))
golang.org/x/pkgsite/cmd/prober
main.go#L359: tag.Upsert(keyName, p.Name),
main.go#L360: tag.Upsert(keyStatus, statusTag),
golang.org/x/pkgsite/internal/dcensus
dcensus.go#L239: stats.RecordWithTags(ctx, []tag.Mutator{tag.Upsert(key, val)}, m)
golang.org/x/pkgsite/internal/frontend
details.go#L125: tag.Upsert(keyVersionType, v),
fetch.go#L595: tag.Upsert(keyFetchStatus, strconv.Itoa(status)),
golang.org/x/pkgsite/internal/middleware
caching.go#L78: tag.Upsert(keyCacheName, name),
caching.go#L79: tag.Upsert(keyCacheHit, strconv.FormatBool(hit)),
caching.go#L85: tag.Upsert(keyCacheName, name),
caching.go#L86: tag.Upsert(keyCacheOperation, operation),
quota.go#L46: tag.Upsert(keyQuotaBlocked, blocked),
golang.org/x/pkgsite/internal/postgres
search.go#L236: []tag.Mutator{tag.Upsert(keySearchSource, resp.source)},
golang.org/x/pkgsite/internal/worker
metrics.go#L50: []tag.Mutator{tag.Upsert(keyEnqueueStatus, strconv.Itoa(status))},
 |
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. |