Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClientRequestDurationSeconds = "client_request_duration_seconds" ClientRequestLatencyMicroseconds = "client_request_latency_microseconds" ClientRequestTotal = "client_request_total" ServerRequestDurationSeconds = "server_request_duration_seconds" ServerRequestLatencyMicroseconds = "server_request_latency_microseconds" ServerRequestTotal = "server_request_total" PublishMessageDurationSeconds = "publish_message_duration_seconds" PublishMessageLatencyMicroseconds = "publish_message_latency_microseconds" PublishMessageTotal = "publish_message_total" SubscribeMessageDurationSeconds = "subscribe_message_duration_seconds" SubscribeMessageLatencyMicroseconds = "subscribe_message_latency_microseconds" SubscribeMessageTotal = "subscribe_message_total" // DefaultSkipEndpoints contains list of endpoints that not evaluted by wrapper DefaultSkipEndpoints = []string{"Meter.Metrics"} )
Functions ¶
func NewCallWrapper ¶ added in v3.2.12
func NewCallWrapper(opts ...Option) client.CallWrapper
func NewClientWrapper ¶ added in v3.2.12
func NewHandlerWrapper ¶ added in v3.2.12
func NewHandlerWrapper(opts ...Option) server.HandlerWrapper
func NewSubscriberWrapper ¶ added in v3.2.12
func NewSubscriberWrapper(opts ...Option) server.SubscriberWrapper
Types ¶
type Option ¶ added in v3.2.12
type Option func(*Options)
func ServiceName ¶ added in v3.2.12
func ServiceVersion ¶ added in v3.2.12
func SkipEndoints ¶ added in v3.3.3
Click to show internal directories.
Click to hide internal directories.