type go.opencensus.io/stats/view.worker
31 uses
go.opencensus.io/stats/view (current package)
worker.go#L33: defaultWorker = NewMeter().(*worker)
worker.go#L43: type worker struct {
worker.go#L113: var _ Meter = (*worker)(nil)
worker.go#L115: var defaultWorker *worker
worker.go#L127: func (w *worker) Find(name string) (v *View) {
worker.go#L145: func (w *worker) Register(views ...*View) error {
worker.go#L166: func (w *worker) Unregister(views ...*View) {
worker.go#L187: func (w *worker) RetrieveData(viewName string) ([]*Row, error) {
worker.go#L203: func (w *worker) Record(tags *tag.Map, ms interface{}, attachments map[string]interface{}) {
worker.go#L231: func (w *worker) SetReportingPeriod(d time.Duration) {
worker.go#L246: return &worker{
worker.go#L263: func (w *worker) SetResource(r *resource.Resource) {
worker.go#L267: func (w *worker) Start() {
worker.go#L271: func (w *worker) start() {
worker.go#L290: func (w *worker) Stop() {
worker.go#L298: func (w *worker) getMeasureRef(name string) *measureRef {
worker.go#L310: func (w *worker) tryRegisterView(v *View) (*viewInternal, error) {
worker.go#L333: func (w *worker) unregisterView(v *viewInternal) {
worker.go#L343: func (w *worker) reportView(v *viewInternal) {
worker.go#L361: func (w *worker) reportUsage() {
worker.go#L369: func (w *worker) toMetric(v *viewInternal, now time.Time) *metricdata.Metric {
worker.go#L387: func (w *worker) Read() []*metricdata.Metric {
worker.go#L401: func (w *worker) RegisterExporter(e Exporter) {
worker.go#L408: func (w *worker) UnregisterExporter(e Exporter) {
worker_commands.go#L30: handleCommand(w *worker)
worker_commands.go#L43: func (cmd *getViewByNameReq) handleCommand(w *worker) {
worker_commands.go#L58: func (cmd *registerViewReq) handleCommand(w *worker) {
worker_commands.go#L90: func (cmd *unregisterFromViewReq) handleCommand(w *worker) {
worker_commands.go#L123: func (cmd *retrieveDataReq) handleCommand(w *worker) {
worker_commands.go#L157: func (cmd *recordReq) handleCommand(w *worker) {
worker_commands.go#L178: func (cmd *setReportingPeriodReq) handleCommand(w *worker) {
![]() |
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. |