Skip to content

Commit 0411357

Browse files
authored
Fixed a few typos (#2447)
1 parent 694c0bf commit 0411357

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/api-reference.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ elasticapm.get_trace_parent_header()
223223
apm_agent_python: ga 1.0.0
224224
```
225225

226-
Instruments libraries automatically. This includes a wide range of standard library and 3rd party modules. A list of instrumented modules can be found in `elasticapm.instrumentation.register`. This function should be called as early as possibly in the startup of your application. For [supported frameworks](/reference/supported-technologies.md#framework-support), this is called automatically. Example:
226+
Instruments libraries automatically. This includes a wide range of standard library and 3rd party modules. A list of instrumented modules can be found in `elasticapm.instrumentation.register`. This function should be called as early as possible in the startup of your application. For [supported frameworks](/reference/supported-technologies.md#framework-support), this is called automatically. Example:
227227

228228
```python
229229
import elasticapm
@@ -308,7 +308,7 @@ elasticapm.set_transaction_outcome(OUTCOME.UNKNOWN)
308308

309309
* `outcome`: One of `"success"`, `"failure"` or `"unknown"`. Can be omitted if `http_status_code` is provided.
310310
* `http_status_code`: if the transaction represents an HTTP response, its status code can be provided to determine the `outcome` automatically.
311-
* `override`: if `True` (the default), any previously set `outcome` will be overriden. If `False`, the outcome will only be set if it was not set before.
311+
* `override`: if `True` (the default), any previously set `outcome` will be overridden. If `False`, the outcome will only be set if it was not set before.
312312

313313

314314
### `elasticapm.get_transaction_id()` [api-get-transaction-id]
@@ -436,7 +436,7 @@ def coffee_maker(strength):
436436
* `name`: The name of the span. Defaults to the function name if used as a decorator.
437437
* `span_type`: (**optional**) The type of the span, usually in a dot-separated hierarchy of `type`, `subtype`, and `action`, e.g. `db.mysql.query`. Alternatively, type, subtype and action can be provided as three separate arguments, see `span_subtype` and `span_action`.
438438
* `skip_frames`: (**optional**) The number of stack frames to skip when collecting stack traces. Defaults to `0`.
439-
* `leaf`: (**optional**) if `True`, all spans nested bellow this span will be ignored. Defaults to `False`.
439+
* `leaf`: (**optional**) if `True`, all spans nested below this span will be ignored. Defaults to `False`.
440440
* `labels`: (**optional**) a dictionary of labels. Keys must be strings, values can be strings, booleans, or numerical (`int`, `float`, `decimal.Decimal`). Defaults to `None`.
441441
* `span_subtype`: (**optional**) subtype of the span, e.g. name of the database. Defaults to `None`.
442442
* `span_action`: (**optional**) action of the span, e.g. `query`. Defaults to `None`.
@@ -471,7 +471,7 @@ async def coffee_maker(strength):
471471
* `name`: The name of the span. Defaults to the function name if used as a decorator.
472472
* `span_type`: (**optional**) The type of the span, usually in a dot-separated hierarchy of `type`, `subtype`, and `action`, e.g. `db.mysql.query`. Alternatively, type, subtype and action can be provided as three separate arguments, see `span_subtype` and `span_action`.
473473
* `skip_frames`: (**optional**) The number of stack frames to skip when collecting stack traces. Defaults to `0`.
474-
* `leaf`: (**optional**) if `True`, all spans nested bellow this span will be ignored. Defaults to `False`.
474+
* `leaf`: (**optional**) if `True`, all spans nested below this span will be ignored. Defaults to `False`.
475475
* `labels`: (**optional**) a dictionary of labels. Keys must be strings, values can be strings, booleans, or numerical (`int`, `float`, `decimal.Decimal`). Defaults to `None`.
476476
* `span_subtype`: (**optional**) subtype of the span, e.g. name of the database. Defaults to `None`.
477477
* `span_action`: (**optional**) action of the span, e.g. `query`. Defaults to `None`.

0 commit comments

Comments
 (0)