Skip to content

refactor(metrics): replace kratos metrics with otel metrics #5625

refactor(metrics): replace kratos metrics with otel metrics

refactor(metrics): replace kratos metrics with otel metrics #5625

Triggered via pull request March 20, 2024 03:17
Status Failure
Total duration 4m 15s
Artifacts

lint.yml

on: pull_request
resolve module
3s
resolve module
Matrix: lint module
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 1 warning
lint module (./contrib/config/kubernetes)
golangci-lint exit with code 5
lint module (./contrib/registry/kubernetes)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/registry/polaris)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/registry/nacos)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/registry/eureka)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/errortracker/sentry)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/registry/servicecomb)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/registry/zookeeper)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/errortracker/sentry)
golangci-lint exit with code 5
lint module (./contrib/config/apollo)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/config/apollo)
golangci-lint exit with code 5
lint module (./contrib/config/consul)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/config/nacos)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/config/etcd)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/config/etcd)
golangci-lint exit with code 5
lint module (./contrib/config/polaris)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/config/polaris)
golangci-lint exit with code 5
lint module (./contrib/log/aliyun)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/log/aliyun)
golangci-lint exit with code 5
lint module (./contrib/log/logrus)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/log/tencent)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/log/zap)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/metrics/prometheus)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/metrics/datadog)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/log/zerolog)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (.)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (.): middleware/metrics/metrics_test.go#L15
File is not `goimports`-ed with -local github.com/go-kratos (goimports)
lint module (.): middleware/tracing/span_test.go#L183
SA1019: trace.NewNoopTracerProvider is deprecated: Use [go.opentelemetry.io/otel/trace/noop.NewTracerProvider] instead. (staticcheck)
lint module (.): middleware/tracing/span_test.go#L216
SA1019: trace.NewNoopTracerProvider is deprecated: Use [go.opentelemetry.io/otel/trace/noop.NewTracerProvider] instead. (staticcheck)
lint module (.): middleware/tracing/statshandler_test.go#L67
SA1019: trace.NewNoopTracerProvider is deprecated: Use [go.opentelemetry.io/otel/trace/noop.NewTracerProvider] instead. (staticcheck)
lint module (.)
issues found
lint module (./contrib/opensergo)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/opensergo)
golangci-lint exit with code 5
lint module (./contrib/polaris)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/polaris)
golangci-lint exit with code 5
lint module (./contrib/registry/discovery)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/registry/discovery)
golangci-lint exit with code 5
lint module (./contrib/registry/consul)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/registry/etcd)
The job was canceled because "_contrib_config_kubernete" failed.
lint module (./contrib/registry/etcd)
golangci-lint exit with code 5
resolve module
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/