Skip to content

Commit 603564f

Browse files
authored
docs: fix links (#1854)
* docs: fix links * Apply suggestions from code review
1 parent 82e0c59 commit 603564f

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

docs/api.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ except ValueError:
7272
* `exc_info`: A `(type, value, traceback)` tuple as returned by https://docs.python.org/3/library/sys.html#sys.exc_info[`sys.exc_info()`]. If not provided, it will be captured automatically.
7373
* `date`: A `datetime.datetime` object representing the occurrence time of the error. If left empty, it defaults to `datetime.datetime.utcnow()`.
7474
* `context`: A dictionary with contextual information. This dictionary must follow the
75-
{apm-guide-ref}/events-api.html#events-api-errors[Context] schema definition.
75+
{apm-guide-ref}/api-error.html[Context] schema definition.
7676
* `custom`: A dictionary of custom data you want to attach to the event.
7777
* `handled`: A boolean to indicate if this exception was handled or not.
7878

@@ -112,7 +112,7 @@ client.capture_message(param_message={
112112
* `date`: A `datetime.datetime` object representing the occurrence time of the error.
113113
If left empty, it defaults to `datetime.datetime.utcnow()`.
114114
* `context`: A dictionary with contextual information. This dictionary must follow the
115-
{apm-guide-ref}/events-api.html#events-api-errors[Context] schema definition.
115+
{apm-guide-ref}/api-events.html#events-api-errors[Context] schema definition.
116116
* `custom`: A dictionary of custom data you want to attach to the event.
117117

118118
Returns the id of the message as a string.
@@ -395,7 +395,7 @@ Supported frameworks will automatically attach information about the HTTP reques
395395
You can attach further data using this function.
396396

397397
TIP: Before using custom context, ensure you understand the different types of
398-
{apm-guide-ref}/metadata.html[metadata] that are available.
398+
{apm-guide-ref}/data-model-metadata.html[metadata] that are available.
399399

400400
Example:
401401

@@ -528,7 +528,7 @@ NOTE: `asyncio` is only supported for Python 3.7+.
528528
Attach labels to the the current transaction and errors.
529529

530530
TIP: Before using custom labels, ensure you understand the different types of
531-
{apm-guide-ref}/metadata.html[metadata] that are available.
531+
{apm-guide-ref}/data-model-metadata.html[metadata] that are available.
532532

533533
Example:
534534

docs/configuration.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ behavior by setting this to `True`.
11891189
| `ELASTIC_APM_USE_ELASTIC_TRACEPARENT_HEADER` | `USE_ELASTIC_TRACEPARENT_HEADER` | `True`
11901190
|============
11911191

1192-
To enable {apm-guide-ref}/distributed-tracing.html[distributed tracing],
1192+
To enable {apm-guide-ref}/apm-distributed-tracing.html[distributed tracing],
11931193
the agent sets a number of HTTP headers to outgoing requests made with <<automatic-instrumentation-http,instrumented HTTP libraries>>.
11941194
These headers (`traceparent` and `tracestate`) are defined in the https://www.w3.org/TR/trace-context-1/[W3C Trace Context] specification.
11951195

docs/opentelemetry.asciidoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ using the OpenTelemetry API. This allows users to utilize the Elastic APM agent'
66
automatic instrumentations, while keeping custom instrumentations vendor neutral.
77

88
If a span is created while there is no transaction active, it will result in an
9-
Elastic APM {apm-guide-ref}/transactions.html[`Transaction`]. Inner spans
10-
are mapped to Elastic APM {apm-guide-ref}/transaction-spans.html[`Span`].
9+
Elastic APM {apm-guide-ref}/data-model-transactions.html[`Transaction`]. Inner spans
10+
are mapped to Elastic APM {apm-guide-ref}/data-model-spans.html[`Span`].
1111

1212
[float]
1313
[[opentelemetry-getting-started]]
@@ -74,4 +74,3 @@ Additionally, due to implementation details, the global context API only works
7474
when a span is included in the activated context, and tokens are not used.
7575
Instead, the global context works as a stack, and when a context is detached the
7676
previously-active context will automatically be activated.
77-

0 commit comments

Comments
 (0)