Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TODO: We could make it configurable in the future
SETUPDURATION = 2
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenCensusBase ¶
type OpenCensusBase struct {
// contains filtered or unexported fields
}
func (*OpenCensusBase) Initialize ¶
func (census *OpenCensusBase) Initialize(projectId string, reportPeriod int)
func (*OpenCensusBase) Record ¶
func (census *OpenCensusBase) Record(arguments *protocol.MeasureArgument) *protocol.Response
func (*OpenCensusBase) ViewRegistration ¶
func (census *OpenCensusBase) ViewRegistration(myView *(view.View)) error
Given the censusArgument, initialize the OpenCensus framework
type Slave ¶
type Slave struct {
// contains filtered or unexported fields
}
func (*Slave) Initialize ¶
func (*Slave) Subscribe ¶
func (slave *Slave) Subscribe(listener OpenCensusBase)
Click to show internal directories.
Click to hide internal directories.