Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataMetricCollector ¶
type MetadataMetricCollector struct {
metrics.BaseCollector
}
type MetadataMetricEvent ¶
type MetadataMetricEvent struct {
Name MetricName
Succ bool
Start time.Time
End time.Time
Attachment map[string]string
}
func NewMetadataMetricTimeEvent ¶
func NewMetadataMetricTimeEvent(n MetricName) *MetadataMetricEvent
func (*MetadataMetricEvent) CostMs ¶
func (e *MetadataMetricEvent) CostMs() float64
func (*MetadataMetricEvent) Type ¶
func (*MetadataMetricEvent) Type() string
type MetricName ¶
type MetricName int8
const ( MetadataPush MetricName = iota MetadataSub StoreProvider // PushRt // SubscribeRt // StoreProviderInterfaceRt SubscribeServiceRt )
Click to show internal directories.
Click to hide internal directories.