Skip to content

Commit 3ab670e

Browse files
fix links
1 parent fc0cc82 commit 3ab670e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/docset.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
project: 'Python client'
22
cross_links:
3-
- apm-agent-php
3+
- apm-agent-python
4+
- docs-content
45
- elasticsearch
56
toc:
67
- toc: reference

docs/reference/async.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ All APIs that are available under the sync client are also available under the a
4747

4848
[ASGI](https://asgi.readthedocs.io) (Asynchronous Server Gateway Interface) is a way to serve Python web applications making use of async I/O to achieve better performance. Some examples of ASGI frameworks include FastAPI, Django 3.0+, and Starlette. If you’re using one of these frameworks along with Elasticsearch then you should be using `~elasticsearch.AsyncElasticsearch` to avoid blocking the event loop with synchronous network calls for optimal performance.
4949

50-
[Elastic APM](apm-agent-php://docs/reference/index.md) also supports tracing of async Elasticsearch queries just the same as synchronous queries. For an example on how to configure `AsyncElasticsearch` with a popular ASGI framework [FastAPI](https://fastapi.tiangolo.com/) and APM tracing there is a [pre-built example](https://github.com/elastic/elasticsearch-py/tree/master/examples/fastapi-apm) in the `examples/fastapi-apm` directory.
50+
[Elastic APM](apm-agent-python://docs/reference/index.md) also supports tracing of async Elasticsearch queries just the same as synchronous queries. For an example on how to configure `AsyncElasticsearch` with a popular ASGI framework [FastAPI](https://fastapi.tiangolo.com/) and APM tracing there is a [pre-built example](https://github.com/elastic/elasticsearch-py/tree/master/examples/fastapi-apm) in the `examples/fastapi-apm` directory.
5151

5252
See also the [Using OpenTelemetry](/reference/opentelemetry.md) page.
5353

0 commit comments

Comments
 (0)