metadata

package
v3.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL