elastic / elastic/apm-agent-python

Add instrumentation for `google-cloud-storage`

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

Descrizione

Because it's using REST APIs underneath, spans are currently being created. But there are (at least) two issues:

1. No enrichment with storage-related context like we do with [`botocore` for s3](https://github.com/elastic/apm-agent-python/blob/main/elasticapm/instrumentation/packages/botocore.py)
2. Any `.exists` checks set the span status to `failure` because it can return a 404 if the file doesn't exist.

A first-class instrumentation would be a much better experience.

Ref https://github.com/elastic/apm-agent-python/issues/1760

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.