Fix failing kafka trace CSIT 11/143211/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Thu, 12 Feb 2026 17:14:18 +0000 (17:14 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Thu, 12 Feb 2026 17:25:40 +0000 (17:25 +0000)
The attribute otel.library.name has been deprecated in
favour of otel.scope.name, as per official documentation.

Issue-ID: POLICY-5542
Change-Id: Ief012ca4c9a5a4b18816ccf9c9d05a929830da4a
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
csit/resources/tests/clamp-common.robot

index 1cb0874..1532f2e 100644 (file)
@@ -375,7 +375,7 @@ VerifyKafkaInTraces
     [Arguments]  ${domain}    ${service}
     Log  Creating session http://${domain}
     ${session}=  Create Session  jaeger  http://${domain}
-    ${tags}=    Create Dictionary    otel.library.name=io.opentelemetry.kafka-clients-2.6    messaging.system=kafka
+    ${tags}=    Create Dictionary    otel.scope.name=io.opentelemetry.kafka-clients-2.6    messaging.system=kafka
     ${tags_json}=    evaluate    json.dumps(${tags})    json
     ${params}=    Create Dictionary    service=${service}    tags=${tags_json}    operation=policy-acruntime-participant publish    lookback=1h    limit=10
     ${resp}=  GET On Session  jaeger  /api/traces  params=${params}    expected_status=200