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" ClientRequestInflight = "client_request_inflight" ServerRequestDurationSeconds = "server_request_duration_seconds" ServerRequestLatencyMicroseconds = "server_request_latency_microseconds" ServerRequestTotal = "server_request_total" ServerRequestInflight = "server_request_inflight" PublishMessageDurationSeconds = "publish_message_duration_seconds" PublishMessageLatencyMicroseconds = "publish_message_latency_microseconds" PublishMessageTotal = "publish_message_total" PublishMessageInflight = "publish_message_inflight" SubscribeMessageDurationSeconds = "subscribe_message_duration_seconds" SubscribeMessageLatencyMicroseconds = "subscribe_message_latency_microseconds" SubscribeMessageTotal = "subscribe_message_total" SubscribeMessageInflight = "subscribe_message_inflight" // DefaultSkipEndpoints contains list of endpoints that not evaluted by wrapper DefaultSkipEndpoints = []string{"Meter.Metrics"} )
Functions ¶
func NewCallWrapper ¶
func NewCallWrapper(opts ...Option) client.CallWrapper
func NewClientWrapper ¶
func NewHandlerWrapper ¶
func NewHandlerWrapper(opts ...Option) server.HandlerWrapper
func NewSubscriberWrapper ¶
func NewSubscriberWrapper(opts ...Option) server.SubscriberWrapper
Types ¶
type Option ¶
type Option func(*Options)
func ServiceName ¶
func ServiceVersion ¶
func SkipEndoints ¶
Click to show internal directories.
Click to hide internal directories.