Skip to content

Commit 51f98a8

Browse files
Merge branch 'main' into bugfix/upload-artifact-conflict
2 parents 0857820 + 54116d0 commit 51f98a8

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ endif::[]
5252
* Fix asgi middleware distributed tracing {pull}2334[#2334]
5353
* Fix typing of start in Span / capture_span to float {pull}2335[#2335]
5454
* Fix azure instrumentation client_class and metrics sets invocation {pull}2337[#2337]
55-
* Fix mysql_connector instrumentation connection retrieval {pull}2334[#2334]
55+
* Fix mysql_connector instrumentation connection retrieval {pull}2344[#2344]
5656
* Remove spurious Django QuerySet evaluation in case of database errors {pull}2158[#2158]
5757
5858
[[release-notes-6.23.0]]

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]

docs/release-notes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To check for security updates, go to [Security announcements for the Elastic sta
3636
* Fix asgi middleware distributed tracing [#2334](https://github.com/elastic/apm-agent-python/pull/2334)
3737
* Fix typing of start in Span / capture_span to float [#2335](https://github.com/elastic/apm-agent-python/pull/2335)
3838
* Fix azure instrumentation client_class and metrics sets invocation [#2337](https://github.com/elastic/apm-agent-python/pull/2337)
39-
* Fix mysql_connector instrumentation connection retrieval [#2334](https://github.com/elastic/apm-agent-python/pull/2334)
39+
* Fix mysql_connector instrumentation connection retrieval [#2344](https://github.com/elastic/apm-agent-python/pull/2344)
4040
* Remove spurious Django QuerySet evaluation in case of database errors [#2158](https://github.com/elastic/apm-agent-python/pull/2158)
4141

4242
## 6.23.0 [elastic-apm-python-agent-6230-release-notes]

0 commit comments

Comments
 (0)