metrics.go
Function Metrics
has 120 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func Metrics() []xmetrics.Metric {
return []xmetrics.Metric{
{
Name: IncomingQueueDepth,
Help: "The depth of the queue behind the incoming handlers.",
exported function Metrics should have comment or be unexported Open
Open
func Metrics() []xmetrics.Metric {
- Exclude checks
exported function NewMetricWrapperMeasures should have comment or be unexported Open
Open
func NewMetricWrapperMeasures(m CaduceusMetricsRegistry) metrics.Histogram {
- Exclude checks
exported const ErrorRequestBodyCounter should have comment (or a comment on this block) or be unexported Open
Open
ErrorRequestBodyCounter = "error_request_body_count"
- Exclude checks
exported function CreateOutbounderMetrics should have comment or be unexported Open
Open
func CreateOutbounderMetrics(m CaduceusMetricsRegistry, c *CaduceusOutboundSender) {
- Exclude checks