Skip to content

Commit 3b98c13

Browse files
authored
update link to APM Server 6.5 schema definition (#331)
* update link to APM Server 6.5 schema definition * update anchor to schema links Co-Authored-By: beniwohli <[email protected]>
1 parent f600230 commit 3b98c13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ except ValueError:
5353
* `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.
5454
* `date`: A `datetime.datetime` object representing the occurrence time of the error. If left empty, it defaults to `datetime.datetime.utcnow()`.
5555
* `context`: A dictionary with contextual information. This dictionary must follow the
56-
{apm-server-ref}/error-api.html#error-context-schema[Context] schema definition.
56+
{apm-server-ref}/events-api.asciidoc#events-api-errors[Context] schema definition.
5757
* `custom`: A dictionary of custom data you want to attach to the event.
5858
* `handled`: A boolean to indicate if this exception was handled or not.
5959

@@ -91,7 +91,7 @@ client.capture_message(param_message={
9191
* `date`: A `datetime.datetime` object representing the occurrence time of the error.
9292
If left empty, it defaults to `datetime.datetime.utcnow()`.
9393
* `context`: A dictionary with contextual information. This dictionary must follow the
94-
{apm-server-ref}/error-api.html#error-context-schema[Context] schema definition.
94+
{apm-server-ref}/events-api.asciidoc#events-api-errors[Context] schema definition.
9595
* `custom`: A dictionary of custom data you want to attach to the event.
9696

9797
Returns the id of the message as a string.

0 commit comments

Comments
 (0)