Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,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-server-ref-64}/error-api.html#error-context-schema[Context] schema definition.
{apm-server-ref-v}/error-api.html#error-context-schema[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.

Expand Down Expand Up @@ -91,7 +91,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-server-ref-64}/error-api.html#error-context-schema[Context] schema definition.
{apm-server-ref-v}/error-api.html#error-context-schema[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.
Expand Down
5 changes: 3 additions & 2 deletions docs/index.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
= APM Python Agent Reference

:branch: current
:branch: 6.4
:server-branch: {branch}
include::{asciidoc-dir}/../../shared/attributes.asciidoc[]

[[getting-started]]
Expand All @@ -12,7 +13,7 @@ The Elastic APM Python agent sends performance metrics and error logs to the APM
It has built-in support for Django and Flask performance metrics and error logging, as well as generic support of other WSGI frameworks for error logging.
The agent is only one of multiple components you need to get started with APM. Please also have a look at the documentation for

* {apm-server-ref-64}/index.html[APM Server]
* {apm-server-ref-v}/index.html[APM Server]
* {ref}/index.html[Elasticsearch]

ifdef::env-github[]
Expand Down