You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instruments libraries automatically. This includes a wide range of standard library and3rd party modules. A list of instrumented modules can be found in`elasticapm.instrumentation.register`. This function should be called as early aspossiblyin 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 and3rd party modules. A list of instrumented modules can be found in`elasticapm.instrumentation.register`. This function should be called as early aspossiblein the startup of your application. For [supported frameworks](/reference/supported-technologies.md#framework-support), this is called automatically. Example:
*`name`: The name of the span. Defaults to the function name if used as a decorator.
437
437
*`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`.
438
438
*`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`.
440
440
*`labels`: (**optional**) a dictionary of labels. Keys must be strings, values can be strings, booleans, or numerical (`int`, `float`, `decimal.Decimal`). Defaults to `None`.
441
441
*`span_subtype`: (**optional**) subtype of the span, e.g. name of the database. Defaults to `None`.
442
442
*`span_action`: (**optional**) action of the span, e.g. `query`. Defaults to `None`.
*`name`: The name of the span. Defaults to the function name if used as a decorator.
472
472
*`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`.
473
473
*`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`.
475
475
*`labels`: (**optional**) a dictionary of labels. Keys must be strings, values can be strings, booleans, or numerical (`int`, `float`, `decimal.Decimal`). Defaults to `None`.
476
476
*`span_subtype`: (**optional**) subtype of the span, e.g. name of the database. Defaults to `None`.
477
477
*`span_action`: (**optional**) action of the span, e.g. `query`. Defaults to `None`.
0 commit comments