Skip to content

Commit 54116d0

Browse files
authored
docs: silence warnings for thin spaces around emdashes (#2393)
1 parent 1210b84 commit 54116d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/instrumenting-custom-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ See [the API docs](/reference/api-reference.md#api-capture-span) for more inform
6262

6363
It’s important to note that `elasticapm.capture_span` only works if there is an existing transaction. If you’re not using one of our [supported frameworks](/reference/set-up-apm-python-agent.md), you need to create a `Client` object and begin and end the transactions yourself. You can even utilize the agent’s [automatic instrumentation](/reference/supported-technologies.md#automatic-instrumentation)!
6464

65-
To collect the spans generated by the supported libraries, you need to invoke `elasticapm.instrument()` (just once, at the initialization stage of your application) and create at least one transaction. It is up to you to determine what you consider a transaction within your application — it can be the whole execution of the script or a part of it.
65+
To collect the spans generated by the supported libraries, you need to invoke `elasticapm.instrument()` (just once, at the initialization stage of your application) and create at least one transaction. It is up to you to determine what you consider a transaction within your applicationit can be the whole execution of the script or a part of it.
6666

6767
The example below will consider the whole execution as a single transaction with two HTTP request spans in it. The config for `elasticapm.Client` can be passed in programmatically, and it will also utilize any config environment variables available to it automatically.
6868

@@ -85,7 +85,7 @@ if __name__ == '__main__':
8585
client.end_transaction(name=__name__, result="success")
8686
```
8787

88-
Note that you don’t need to do anything to send the data — the `Client` object will handle that before the script exits. Additionally, the `Client` object should be treated as a singleton — you should only create one instance and store/pass around that instance for all transaction handling.
88+
Note that you don’t need to do anything to send the datathe `Client` object will handle that before the script exits. Additionally, the `Client` object should be treated as a singletonyou should only create one instance and store/pass around that instance for all transaction handling.
8989

9090

9191
## Distributed Tracing [instrumenting-custom-code-distributed-tracing]

0 commit comments

Comments
 (0)