Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DurationReportFunc ¶
type MetricsHelper ¶
type MetricsHelper struct {
// contains filtered or unexported fields
}
func NewMetricsHelper ¶
func NewMetricsHelper(recorder insolar.LogMetricsRecorder) *MetricsHelper
func (*MetricsHelper) GetOnWriteDurationReport ¶
func (p *MetricsHelper) GetOnWriteDurationReport() DurationReportFunc
func (*MetricsHelper) OnFilteredEvent ¶
func (p *MetricsHelper) OnFilteredEvent(ctx context.Context, level insolar.LogLevel)
func (*MetricsHelper) OnNewEvent ¶
func (p *MetricsHelper) OnNewEvent(ctx context.Context, level insolar.LogLevel)
func (*MetricsHelper) OnWriteDuration ¶
func (p *MetricsHelper) OnWriteDuration(d time.Duration)
Click to show internal directories.
Click to hide internal directories.