Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HTTPReqDuration *prometheus.HistogramVec HTTPReqTotal *prometheus.CounterVec TaskRunning *prometheus.GaugeVec )
Functions ¶
func PrometheusInterceptor ¶
func PrometheusInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.