diff --git a/internal/otelcollector/config/metric/gateway/processors.go b/internal/otelcollector/config/metric/gateway/processors.go index cdc3f7a0f..953698935 100644 --- a/internal/otelcollector/config/metric/gateway/processors.go +++ b/internal/otelcollector/config/metric/gateway/processors.go @@ -240,8 +240,8 @@ func inputSourceEquals(inputSourceType metric.InputSourceType) string { } func otlpInputSource() string { - // When instrumentation scope is not set to - // io.kyma-project.telemetry/runtime or io.kyma-project.telemetry/prometheus or io.kyma-project.telemetry/istio + // When instrumentation scope is not set to any of the following values + // io.kyma-project.telemetry/runtime, io.kyma-project.telemetry/prometheus, io.kyma-project.telemetry/istio, adn io.kyma-project.telemetry/kyma" // we assume the metric is being pushed directly to metrics gateway. return fmt.Sprintf("not(%s or %s or %s or %s)", ottlexpr.ScopeNameEquals(metric.InstrumentationScopeRuntime),