Skip to content

Disabling OpenTelemetry SDK results in karapace spamming the same log #1168

@FedericoAntoniazzi

Description

@FedericoAntoniazzi

What happened?

I started karapace with the env var OTEL_SDK_DISABLED=true set and it results in a log spam

...
opentelemetry.sdk.trace schema-reader   WARNING         SDK is disabled.
opentelemetry.sdk.trace schema-reader   WARNING         SDK is disabled.
opentelemetry.sdk.trace schema-reader   WARNING         SDK is disabled.
opentelemetry.sdk.trace schema-reader   WARNING         SDK is disabled.
opentelemetry.sdk.trace schema-reader   WARNING         SDK is disabled.
opentelemetry.sdk.trace schema-reader   WARNING         SDK is disabled.
...

What did you expect to happen?

When disabling the OTEL SDK, I expect not to receive any warning about it.

What else do we need to know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions