package internal
import "go.opencensus.io/stats/internal"
Index ¶
Variables ¶
var DefaultRecorder func(tags *tag.Map, measurement interface{}, attachments map[string]interface{})
DefaultRecorder will be called for each Record call.
var MeasurementRecorder interface{}
MeasurementRecorder will be called for each Record call. This is the same as DefaultRecorder but avoids interface{} conversion. This will be a func(tags *tag.Map, measurement []Measurement, attachments map[string]interface{}) type, but is interface{} here to avoid import loops
var SubscriptionReporter func(measure string)
SubscriptionReporter reports when a view subscribed with a measure.
Source Files ¶
record.go
- Version
- v0.24.0 (latest)
- Published
- Nov 3, 2022
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 3 hours ago –
Tools for package owners.