From 6d31e30e9073dc6c3f1e34f65f559e95474c8034 Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Thu, 25 May 2023 09:16:33 -0400 Subject: [PATCH 1/2] Fix broken links from APM-Server 10874 --- docs/api.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.asciidoc b/docs/api.asciidoc index 24f7e082c..05e416dd8 100644 --- a/docs/api.asciidoc +++ b/docs/api.asciidoc @@ -72,7 +72,7 @@ except ValueError: * `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. * `date`: A `datetime.datetime` object representing the occurrence time of the error. If left empty, it defaults to `datetime.datetime.utcnow()`. * `context`: A dictionary with contextual information. This dictionary must follow the - {apm-guide-ref}/events-api.html#events-api-errors[Context] schema definition. + {apm-guide-ref}/events-api.html[Context] schema definition. * `custom`: A dictionary of custom data you want to attach to the event. * `handled`: A boolean to indicate if this exception was handled or not. @@ -112,7 +112,7 @@ client.capture_message(param_message={ * `date`: A `datetime.datetime` object representing the occurrence time of the error. If left empty, it defaults to `datetime.datetime.utcnow()`. * `context`: A dictionary with contextual information. This dictionary must follow the - {apm-guide-ref}/events-api.html#events-api-errors[Context] schema definition. + {apm-guide-ref}/events-api.html[Context] schema definition. * `custom`: A dictionary of custom data you want to attach to the event. Returns the id of the message as a string. From 1fd12b74d9bca3e645ba23fa8da6d1c86024d6b9 Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Thu, 25 May 2023 09:42:57 -0400 Subject: [PATCH 2/2] fix url --- docs/api.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.asciidoc b/docs/api.asciidoc index 05e416dd8..c1c83e362 100644 --- a/docs/api.asciidoc +++ b/docs/api.asciidoc @@ -72,7 +72,7 @@ except ValueError: * `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. * `date`: A `datetime.datetime` object representing the occurrence time of the error. If left empty, it defaults to `datetime.datetime.utcnow()`. * `context`: A dictionary with contextual information. This dictionary must follow the - {apm-guide-ref}/events-api.html[Context] schema definition. + {apm-guide-ref}/api-error.html[Context] schema definition. * `custom`: A dictionary of custom data you want to attach to the event. * `handled`: A boolean to indicate if this exception was handled or not. @@ -112,7 +112,7 @@ client.capture_message(param_message={ * `date`: A `datetime.datetime` object representing the occurrence time of the error. If left empty, it defaults to `datetime.datetime.utcnow()`. * `context`: A dictionary with contextual information. This dictionary must follow the - {apm-guide-ref}/events-api.html[Context] schema definition. + {apm-guide-ref}/api-error.html[Context] schema definition. * `custom`: A dictionary of custom data you want to attach to the event. Returns the id of the message as a string.