apm-agent-python icon indicating copy to clipboard operation
apm-agent-python copied to clipboard

Official Python agent for Elastic APM

Results 205 apm-agent-python issues
Sort by recently updated
recently updated
newest added

This was from unrelated code change: ``` _____________________________ test_interval_timer _____________________________ def test_interval_timer(): func = mock.Mock() timer = IntervalTimer(function=func, interval=0.1, args=(1,), kwargs={"a": "b"}) timer.start() time.sleep(0.25) try: > assert func.call_count == 2...

agent-python

to avoid accidentally trying to merge a None with a tuple of Spans ## What does this pull request do? Simply adds a safe fallback in case the existing tuple...

agent-python
community
triage

**Describe the bug**: ... When `ELASTIC_APM_ENABLED` is set to `false`, `start_span()` should not result in an exception. This happens when the Tracer from `from elasticapm.contrib.opentelemetry.trace` is used. **To Reproduce** 1....

agent-python
community
triage

While it is optional it makes sense to send it when we send the `parent_id`.

agent-python

**Describe the bug**: When I run as `gunicorn -w 4 run:app` using its own wsgi, then I see data in Kibana. When I run as `gunicorn -w 4 -k uvicorn.workers.UvicornWorker...

agent-python
community
triage

deps: Bump updatecli version deps(updatecli): Bump updatecli version to v0.112.0 1 file(s) updated with "updatecli v0.112.0":

* .tool-versions
 v0.112.0 > [!WARNING]
> In the previous version (v0.111.0, a regression was introduced in...

agent-python
dependencies

Bumps the github-actions group with 2 updates in the / directory: [actions/download-artifact](https://github.com/actions/download-artifact) and [actions/upload-artifact](https://github.com/actions/upload-artifact). Bumps the github-actions group with 1 update in the /.github/actions/build-distribution directory: [actions/upload-artifact](https://github.com/actions/upload-artifact). Bumps the github-actions group...

agent-python
dependencies
github_actions

deps(updatecli/policy): bump "ghcr.io/elastic/oblt-updatecli-policies/updatecli/version" Updatecli policy version deps(updatecli): bump "ghcr.io/elastic/oblt-updatecli-policies/updatecli/version" policy to 0.2.1 change detected:

* key "$.policies[4].policy" updated from "ghcr.io/elastic/oblt-updatecli-policies/updatecli/version:0.2.0@sha256:013a37ddcdb627c46e7cba6fb9d1d7bc144584fa9063843ae7ee0f6ef26b4bea" to "ghcr.io/elastic/oblt-updatecli-policies/updatecli/version:0.2.1@sha256:6fd23ee6800e330fb6aa60ae3597dceb5dde919d3562dfcf559f6e0cb87cf998", in file "/tmp/updatecli/github/elastic/apm-agent-python/updatecli-compose.yaml" GitHub Action workflow link deps(updatecli/policy): bump...

agent-python
dependencies

## What does this pull request do? This makes it clear which symbols are part of the public API and improves IDE autocomplete and static analysis for Python integrations using...

agent-python
community
triage

**Describe the bug**: "async_capture_span" is not exported from module "elasticapm" Import from "elasticapm.contrib.asyncio.traces" instead Description Currently, trying to import async_capture_span directly from the top-level elasticapm package fails. This creates friction...

agent-python
community
triage