Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { SaveGetEvaluationLatencyMetricsEvent(tag, status string, duration time.Duration) SaveGetEvaluationSizeMetricsEvent(tag, status string, sizeByte int32) SaveTimeoutErrorCountMetricsEvent(tag string) SaveInternalErrorCountMetricsEvent(tag string) SaveLatencyMetricsEvent(tag, status, sdkVersion string, api eventproto.ApiId, duration time.Duration) SaveSizeMetricsEvent(tag, status, sdkVersion string, api eventproto.ApiId, sizeByte int32) SaveTimeoutErrorMetricsEvent(tag, sdkVersion string, api eventproto.ApiId) SaveInternalErrorMetricsEvent(tag, sdkVersion string, api eventproto.ApiId) SaveNetworkErrorMetricsEvent(tag, sdkVersion string, api eventproto.ApiId) SaveInternalSdkErrorMetricsEvent(tag, sdkVersion string, api eventproto.ApiId) }
func NewStorage ¶
func NewStorage(logger *zap.Logger, register metrics.Registerer) Storage
Click to show internal directories.
Click to hide internal directories.