Skip to content

feat: collect and serve pre-aggregated bytes and counts #3371

feat: collect and serve pre-aggregated bytes and counts

feat: collect and serve pre-aggregated bytes and counts #3371

Triggered via pull request May 24, 2024 23:35
Status Failure
Total duration 4m 36s
Artifacts

check.yml

on: pull_request
Matrix: check / testPackages
Fit to window
Zoom out
Zoom in

Annotations

39 errors and 11 warnings
check / lintFiles
Process completed with exit code 2.
check / testPackages (pkg/pattern)
Process completed with exit code 1.
check / testPackages (pkg/tool)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/logcli)
The job was canceled because "pkg_pattern" failed.
check / testPackages (tools/doc-generator)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/ingester)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/ingester)
The operation was canceled.
check / testPackages (pkg/chunkenc)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/chunkenc)
The operation was canceled.
check / testPackages (pkg/bloomcompactor)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/bloomcompactor)
The operation was canceled.
check / testPackages (pkg/logql)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/storage)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/storage)
The operation was canceled.
check / testPackages (pkg/lokifrontend)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/lokifrontend)
The operation was canceled.
check / testPackages (pkg/ruler)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/ruler)
The operation was canceled.
check / testPackages (cmd/migrate)
The job was canceled because "pkg_pattern" failed.
check / testPackages (tools/tsdb)
The job was canceled because "pkg_pattern" failed.
check / testPackages (tools/tsdb)
The operation was canceled.
check / testPackages (pkg/util)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/util)
The operation was canceled.
check / testPackages (pkg/loki)
The job was canceled because "pkg_pattern" failed.
check / testPackages (clients/cmd)
The job was canceled because "pkg_pattern" failed.
check / testPackages (clients/cmd)
The operation was canceled.
check / testPackages (clients/pkg)
The job was canceled because "pkg_pattern" failed.
check / testPackages (clients/pkg)
The operation was canceled.
check / testPackages (pkg/querier)
The job was canceled because "pkg_pattern" failed.
check / testPackages (pkg/querier)
The operation was canceled.
check / checkFiles
Process completed with exit code 2.
check / golangciLint: pkg/pattern/instance_test.go#L42
Error return value of `instance.Push` is not checked (errcheck)
check / golangciLint: pkg/pattern/ingester_querier.go#L82
S1034: assigning the result of this type assertion to a variable (switch expr := expr.(type)) could eliminate type assertions in switch cases (gosimple)
check / golangciLint: pkg/pattern/ingester_querier.go#L84
S1034(related information): could eliminate this type assertion (gosimple)
check / golangciLint: pkg/pattern/ingester_querier.go#L86
S1034(related information): could eliminate this type assertion (gosimple)
check / golangciLint: pkg/pattern/metric/evaluator_test.go#L36
S1040: type assertion to the same type: expr already has type syntax.SampleExpr (gosimple)
check / golangciLint: pkg/pattern/ingester.go#L248
ineffectual assignment to err (ineffassign)
check / golangciLint: pkg/pattern/ingester_test.go#L33
ineffectual assignment to err (ineffassign)
check / golangciLint
issues found
check / golangciLint
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/.
check / golangciLint: pkg/pattern/metric/chunk.go#L53
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
check / golangciLint: pkg/pattern/metric/chunk.go#L17
exported: type name will be used as metric.MetricType by other packages, and that stutters; consider calling this Type (revive)
check / golangciLint: pkg/pattern/metric/evaluator.go#L189
unused-parameter: parameter 'expr' seems to be unused, consider removing or renaming it as _ (revive)
check / golangciLint: pkg/pattern/metric/chunk.go#L90
exported: type name will be used as metric.MetricSample by other packages, and that stutters; consider calling this Sample (revive)
check / golangciLint: pkg/pattern/metric/chunk.go#L104
exported: type name will be used as metric.MetricSamples by other packages, and that stutters; consider calling this Samples (revive)
check / golangciLint: pkg/pattern/metric/evaluator.go#L309
unexported-return: exported func NewParams returns unexported type *metric.paramCompat, which can be annoying to use (revive)
check / golangciLint: pkg/pattern/ingester_querier_test.go#L121
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
check / golangciLint: pkg/pattern/ingester_querier_test.go#L125
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
check / golangciLint: pkg/pattern/ingester_querier_test.go#L145
unused-parameter: parameter 'listener' seems to be unused, consider removing or renaming it as _ (revive)
check / golangciLint: pkg/pattern/ingester_querier_test.go#L156
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)