Fix doc formatting issues (#3062)

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
This commit is contained in:
Leonid Bugaev
2024-12-05 15:53:21 +03:00
committed by GitHub
parent f393546d4a
commit 6c92f387aa
3 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@ Instrument kafka-python to report instrumentation-kafka produced and consumed me
Usage
-----
..code:: python
.. code:: python
from opentelemetry.instrumentation.kafka import KafkaInstrumentor
from kafka import KafkaProducer, KafkaConsumer
@ -45,7 +45,8 @@ this function signature is:
def consume_hook(span: Span, record: kafka.record.ABCRecord, args, kwargs)
for example:
.. code: python
.. code:: python
from opentelemetry.instrumentation.kafka import KafkaInstrumentor
from kafka import KafkaProducer, KafkaConsumer