Skip to content

Commit 8c17968

Browse files
sfanahataShannon Anahata
andauthored
fix: Remove manual config section from python span lifecycle page (#13319)
Co-authored-by: Shannon Anahata <[email protected]>
1 parent cc59fef commit 8c17968

File tree

1 file changed

+0
-5
lines changed
  • docs/platforms/python/tracing/span-lifecycle

1 file changed

+0
-5
lines changed

docs/platforms/python/tracing/span-lifecycle/index.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ To add custom performance data to your application, you need to add custom instr
1414

1515
<PlatformContent includePath="enriching-events/import" />
1616

17-
There are two main approaches to creating spans in Python:
18-
19-
- [Using the context manager](#using-the-context-manager): Creates a span with an automatic lifecycle (recommended).
20-
- [Manual span creation](#creating-spans-manually): Gives you more control over the span's lifecycle.
21-
2217
## Span Lifecycle
2318

2419
In Python, spans are typically created using a context manager, which automatically manages the span's lifecycle. When you create a span using a context manager, the span automatically starts when entering the context and ends when exiting it. This is the recommended approach for most scenarios.

0 commit comments

Comments
 (0)