go.opencensus.io/stats.Int64Measure.M (method)

31 uses

	go.opencensus.io/stats (current package)
		measure_int64.go#L25: func (m *Int64Measure) M(v int64) Measurement {

	go.opencensus.io/plugin/ocgrpc
		stats_common.go#L154: 				ClientSentBytesPerRPC.M(atomic.LoadInt64(&d.sentBytes)),
		stats_common.go#L155: 				ClientSentMessagesPerRPC.M(atomic.LoadInt64(&d.sentCount)),
		stats_common.go#L156: 				ClientReceivedMessagesPerRPC.M(atomic.LoadInt64(&d.recvCount)),
		stats_common.go#L157: 				ClientReceivedBytesPerRPC.M(atomic.LoadInt64(&d.recvBytes)),
		stats_common.go#L166: 				ServerSentBytesPerRPC.M(atomic.LoadInt64(&d.sentBytes)),
		stats_common.go#L167: 				ServerSentMessagesPerRPC.M(atomic.LoadInt64(&d.sentCount)),
		stats_common.go#L168: 				ServerReceivedMessagesPerRPC.M(atomic.LoadInt64(&d.recvCount)),
		stats_common.go#L169: 				ServerReceivedBytesPerRPC.M(atomic.LoadInt64(&d.recvBytes)),

	go.opencensus.io/plugin/ochttp
		client_stats.go#L54: 	stats.Record(ctx, ClientRequestCount.M(1))
		client_stats.go#L108: 			ClientSentBytes.M(t.reqSize),
		client_stats.go#L109: 			ClientReceivedBytes.M(respSize),
		client_stats.go#L112: 			ClientResponseBytes.M(t.respSize),
		client_stats.go#L115: 			m = append(m, ClientRequestBytes.M(t.reqSize))
		server.go#L165: 	stats.Record(ctx, ServerRequestCount.M(1))
		server.go#L195: 			ServerResponseBytes.M(t.respSize),
		server.go#L198: 			m = append(m, ServerRequestBytes.M(t.reqSize))

	contrib.go.opencensus.io/integrations/ocsql
		dbstats_go1.11.go#L30: 					MeasureOpenConnections.M(int64(dbStats.OpenConnections)),
		dbstats_go1.11.go#L31: 					MeasureIdleConnections.M(int64(dbStats.Idle)),
		dbstats_go1.11.go#L32: 					MeasureActiveConnections.M(int64(dbStats.InUse)),
		dbstats_go1.11.go#L33: 					MeasureWaitCount.M(dbStats.WaitCount),
		dbstats_go1.11.go#L35: 					MeasureIdleClosed.M(dbStats.MaxIdleClosed),
		dbstats_go1.11.go#L36: 					MeasureLifetimeClosed.M(dbStats.MaxLifetimeClosed),

	golang.org/x/pkgsite/internal/fetch
		fetch.go#L125: 			stats.Record(ctx, fetchedPackages.M(int64(len(fr.PackageVersionStates))))
		fetch.go#L172: 			stats.Record(ctx, fetchesShedded.M(1))

	golang.org/x/pkgsite/internal/frontend
		details.go#L126: 	}, versionTypeResults.M(1))

	golang.org/x/pkgsite/internal/middleware
		caching.go#L80: 	}, cacheResults.M(1), cacheLatency.M(ms))
		caching.go#L87: 	}, cacheErrors.M(1))
		quota.go#L47: 	}, quotaResults.M(1))

	golang.org/x/pkgsite/internal/worker
		metrics.go#L51: 		enqueueStatus.M(int64(status)))
		metrics.go#L55: 	stats.Record(ctx, processingLag.M(d.Milliseconds()/1000))