...
The histogram is defined on line 3 (using the interface type)
The
InitializeMetrics()
method is called in yourStart
method(automatically) after the device is loaded (after theLoad
method). Any labels used within theInitializeMetrics()
method must be initialized in your constructor orLoad
methods.The histogram is created in the
InitializeMetrics
method.The operation to be measured is wrapped with the
.NewTimer()
method. TheNewTimer
method is a specialized function of the histogram type for measuring duration (in seconds). Other operations (like size) are measured using the.Observe(X)
method.
Info |
---|
The |
...