feat: collect and serve pre-aggregated bytes and counts #3347
Annotations
10 errors and 11 warnings
golangci-lint:
pkg/pattern/instance_test.go#L41
Error return value of `instance.Push` is not checked (errcheck)
|
golangci-lint:
pkg/pattern/metric/evaluator_test.go#L39
S1040: type assertion to the same type: expr already has type syntax.SampleExpr (gosimple)
|
golangci-lint:
pkg/pattern/ingester_querier.go#L58
S1034: assigning the result of this type assertion to a variable (switch expr := expr.(type)) could eliminate type assertions in switch cases (gosimple)
|
golangci-lint:
pkg/pattern/ingester_querier.go#L60
S1034(related information): could eliminate this type assertion (gosimple)
|
golangci-lint:
pkg/pattern/ingester_querier.go#L62
S1034(related information): could eliminate this type assertion (gosimple)
|
golangci-lint:
pkg/pattern/ingester.go#L244
ineffectual assignment to err (ineffassign)
|
golangci-lint:
pkg/pattern/ingester_test.go#L26
ineffectual assignment to err (ineffassign)
|
golangci-lint:
pkg/pattern/ring_client.go#L96
SA5007: infinite recursive call (staticcheck)
|
golangci-lint:
pkg/pattern/ring_client.go#L104
SA5007: infinite recursive call (staticcheck)
|
golangci-lint:
pkg/pattern/ring_client.go#L112
SA5007: infinite recursive call (staticcheck)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint:
pkg/pattern/metric/chunk.go#L52
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/pattern/metric/chunk.go#L16
exported: type name will be used as metric.MetricType by other packages, and that stutters; consider calling this Type (revive)
|
golangci-lint:
pkg/pattern/metric/evaluator.go#L189
unused-parameter: parameter 'expr' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/pattern/metric/chunk.go#L77
exported: type name will be used as metric.MetricSample by other packages, and that stutters; consider calling this Sample (revive)
|
golangci-lint:
pkg/pattern/metric/chunk.go#L91
exported: type name will be used as metric.MetricSamples by other packages, and that stutters; consider calling this Samples (revive)
|
golangci-lint:
pkg/pattern/metric/evaluator.go#L307
unexported-return: exported func NewParams returns unexported type *metric.paramCompat, which can be annoying to use (revive)
|
golangci-lint:
pkg/pattern/ingester_querier_test.go#L112
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/pattern/ingester_querier_test.go#L116
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/pattern/ingester_querier_test.go#L136
unused-parameter: parameter 'listener' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/pattern/ingester_querier_test.go#L147
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
The logs for this run have expired and are no longer available.
Loading