elastic / elastic/apm-agent-python

Add instrumentation for `google-cloud-storage`

Open
#1,763 0 comments 0 reactions 0 assignees View on GitHub
agent-python feature instrumentation
Dominant language
Python
Stars
431
Forks
239
Avg merge
5d 10h
Merged PRs (30d)
7

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.