feat: Support split align and caching for instant metric query results #1054
Annotations
1 error and 4 warnings
checks
issues found
|
checks
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/.
|
checks:
pkg/logql/rangemapper.go#L379
increment-decrement: should replace splits += 1 with splits++ (revive)
|
checks:
pkg/logql/rangemapper.go#L382
var-declaration: should omit type time.Duration from declaration of var newRng; it will be inferred from the right-hand side (revive)
|
checks:
pkg/logql/rangemapper.go#L383
var-declaration: should omit type time.Duration from declaration of var newOffset; it will be inferred from the right-hand side (revive)
|