elastic / elastic/apm-agent-python

Elasticsearch Parallel Bulk Helper not picked up as Spans

Aperta
#1,759 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
agent-python bug community
Lingua principale
Python
Stelle
431
Fork
239
Merge medio
5g 10h
PR unite (30g)
7

Descrizione

**Describe the bug**: ...
```
@elasticapm.capture_span()
def index(docs):
helpers.bulk(client, docs)
```

This is instrumented:
image (13)

This:
```
@elasticapm.capture_span()
def index(docs):
deque(
helpers.parallel_bulk(
client,
docs,
chunk_size=5000,
thread_count=4,
queue_size=4,
raise_on_error=False,
raise_on_exception=False,
),
maxlen=0,
)
```

is not instrumented:

image (14)

Python 3.11, Elasticsearch language client for Python 8.6.1

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.