Skip to content

Commit 1eb8813

Browse files
committed
Fix links
1 parent 8486ed6 commit 1eb8813

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/reference/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This is the documentation for the official Java API Client for {{es}}. The clien
1515
* Blocking and asynchronous versions of all APIs.
1616
* Use of fluent builders and functional patterns to allow writing concise yet readable code when creating complex nested structures.
1717
* Seamless integration of application classes by using an object mapper such as Jackson or any JSON-B implementation.
18-
* Delegates protocol handling to an http client such as the [Java Low Level REST Client](transport/rest-client/) that takes care of all transport-level concerns: HTTP connection pooling, retries, node discovery, and so on.
18+
* Delegates protocol handling to an http client such as the [Java Low Level REST Client](transport/rest-client/index.md) that takes care of all transport-level concerns: HTTP connection pooling, retries, node discovery, and so on.
1919

2020

2121
## Elasticsearch server compatibility policy [_elasticsearch_server_compatibility_policy]

docs/reference/setup/opentelemetry.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ You can use [OpenTelemetry](https://opentelemetry.io/) to monitor the performanc
99

1010
The native instrumentation in the Java API Client follows the [OpenTelemetry Semantic Conventions for {{es}}](https://opentelemetry.io/docs/specs/semconv/database/elasticsearch/). In particular, the instrumentation in the client covers the logical layer of {{es}} requests. A single span per request is created that is processed by the service through the Java API Client. The following image shows a trace that records the handling of three different {{es}} requests: an `index`, `get` and a search `request`:
1111

12-
:::{image} images/otel-waterfall-instrumented-without-http.jpg
12+
:::{image} ../images/otel-waterfall-instrumented-without-http.jpg
1313
:alt: Distributed trace with {{es}} spans
1414
:class: screenshot
1515
:::
1616

1717
Usually, OpenTelemetry agents and auto-instrumentation modules come with instrumentation support for HTTP-level communication. In this case, in addition to the logical {{es}} client requests, spans will be captured for the physical HTTP requests emitted by the client. The following image shows a trace with both, {{es}} spans (in blue) and the corresponding HTTP-level spans (in red):
1818

19-
:::{image} images/otel-waterfall-instrumented.jpg
19+
:::{image} ../images/otel-waterfall-instrumented.jpg
2020
:alt: Distributed trace with {{es}} and HTTP spans
2121
:class: screenshot
2222
:::
2323

2424
Advanced Java API Client behavior such as nodes round-robin and request retries are revealed through the combination of logical {{es}} spans and the physical HTTP spans. The following example shows an `index` request in a scenario with two {{es}} nodes:
2525

26-
:::{image} images/otel-waterfall-retries.jpg
26+
:::{image} ../images/otel-waterfall-retries.jpg
2727
:alt: Distributed trace with request retries
2828
:class: screenshot
2929
:::

0 commit comments

Comments
 (0)