Skip to content

Add support for help text in metric definitions #1626

Add support for help text in metric definitions

Add support for help text in metric definitions #1626

Triggered via pull request May 8, 2023 21:42
Status Failure
Total duration 4m 30s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint: common/metrics/defs.go#L92
unexported-return: exported func NewTimerDef returns unexported type metrics.metricDefinition, which can be annoying to use (revive)
lint: common/metrics/defs.go#L96
unexported-return: exported func NewBytesHistogramDef returns unexported type metrics.metricDefinition, which can be annoying to use (revive)
lint: common/metrics/defs.go#L100
unexported-return: exported func NewDimensionlessHistogramDef returns unexported type metrics.metricDefinition, which can be annoying to use (revive)
lint: common/metrics/defs.go#L104
unexported-return: exported func NewCounterDef returns unexported type metrics.metricDefinition, which can be annoying to use (revive)
lint: common/metrics/defs.go#L108
unexported-return: exported func NewGaugeDef returns unexported type metrics.metricDefinition, which can be annoying to use (revive)
lint
issues found