Commit 527ae8a
committed
fix(confluent-kafka): use PUBLISH operation for producer spans
wrap_produce was setting messaging.operation=RECEIVE on producer spans.
The correct OTel semantic value for a send/produce operation is PUBLISH.
Fixes #4292
Signed-off-by: alliasgher <alliasgher123@gmail.com>1 parent 34bfc28 commit 527ae8a
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
374 | | - | |
| 373 | + | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
0 commit comments