Skip to content

feat: Add otel log agent #3410

feat: Add otel log agent

feat: Add otel log agent #3410

Triggered via pull request January 27, 2025 13:52
Status Failure
Total duration 2m 53s
Artifacts

pr-code-checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 5 warnings
unit-tests
processorsConfig.SetInstrumentationScopeRuntime.Context undefined (type *log.TransformProcessor has no field or method Context)
unit-tests
not enough arguments in call to New
unit-tests
Process completed with exit code 2.
lint: internal/otelcollector/config/log/agent/processors_test.go#L10
processorsConfig.SetInstrumentationScopeRuntime.Context undefined (type *"github.com/kyma-project/telemetry-manager/internal/otelcollector/config/log".TransformProcessor has no field or method Context)
lint: internal/otelcollector/config/log/agent/processors_test.go#L11
processorsConfig.SetInstrumentationScopeRuntime.Statements undefined (type *"github.com/kyma-project/telemetry-manager/internal/otelcollector/config/log".TransformProcessor has no field or method Statements)
lint: internal/otelcollector/config/log/agent/processors_test.go#L12
processorsConfig.SetInstrumentationScopeRuntime.Statements undefined (type *"github.com/kyma-project/telemetry-manager/internal/otelcollector/config/log".TransformProcessor has no field or method Statements)
lint: internal/otelcollector/config/log/agent/processors_test.go#L13
processorsConfig.SetInstrumentationScopeRuntime.Statements undefined (type *"github.com/kyma-project/telemetry-manager/internal/otelcollector/config/log".TransformProcessor has no field or method Statements) (typecheck)
lint: internal/reconciler/logpipeline/otel/reconciler_test.go#L71
not enough arguments in call to New
lint: internal/reconciler/logpipeline/otel/reconciler_test.go#L120
not enough arguments in call to New
lint: internal/reconciler/logpipeline/otel/reconciler_test.go#L169
not enough arguments in call to New
lint
Process completed with exit code 2.
coverage: internal/otelcollector/config/log/agent/processors_test.go#L10
processorsConfig.SetInstrumentationScopeRuntime.Context undefined (type *"github.com/kyma-project/telemetry-manager/internal/otelcollector/config/log".TransformProcessor has no field or method Context)
coverage: internal/otelcollector/config/log/agent/processors_test.go#L11
processorsConfig.SetInstrumentationScopeRuntime.Statements undefined (type *"github.com/kyma-project/telemetry-manager/internal/otelcollector/config/log".TransformProcessor has no field or method Statements)
coverage: internal/otelcollector/config/log/agent/processors_test.go#L12
processorsConfig.SetInstrumentationScopeRuntime.Statements undefined (type *"github.com/kyma-project/telemetry-manager/internal/otelcollector/config/log".TransformProcessor has no field or method Statements)
coverage: internal/otelcollector/config/log/agent/processors_test.go#L13
processorsConfig.SetInstrumentationScopeRuntime.Statements undefined (type *"github.com/kyma-project/telemetry-manager/internal/otelcollector/config/log".TransformProcessor has no field or method Statements)
coverage: internal/reconciler/logpipeline/otel/reconciler_test.go#L71
not enough arguments in call to New
coverage: internal/reconciler/logpipeline/otel/reconciler_test.go#L120
not enough arguments in call to New
coverage: internal/reconciler/logpipeline/otel/reconciler_test.go#L169
not enough arguments in call to New
coverage
Process completed with exit code 2.
gitleaks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
verify-code-generated
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636