Skip to content

Commit 4f7035b

Browse files
committed
expands curation for types within the Tracing module
1 parent e03cddf commit 4f7035b

23 files changed

+303
-20
lines changed

Sources/Tracing/Docs.docc/LegacyTracer.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# ``Tracing/DefaultTracerClock/Timestamp``
2+
3+
## Topics
4+
5+
### Creating timestamps
6+
7+
- ``init()``
8+
- ``init(nanosecondsSinceEpoch:)``
9+
10+
### Inspecting timestamps
11+
12+
- ``nanosecondsSinceEpoch``
13+
14+
### Comparing timestamps
15+
16+
- ``==(_:_:)``
17+
- ``<(_:_:)``
18+
- ``hash(into:)``
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ``Tracing/DefaultTracerClock``
2+
3+
## Topics
4+
5+
### Creating a default tracer clock
6+
7+
- ``init()``
8+
9+
### Inspecting the clock
10+
11+
- ``now-type.property``
12+
- ``now-property``
13+
- ``Instant``
14+
- ``Timestamp``
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# ``Tracing/Instrumentation/InstrumentationSystem``
2+
3+
## Topics
4+
5+
- ``tracer``
6+
- ``legacyTracer``
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# ``Tracing/LegacyTracer``
2+
3+
## Topics
4+
5+
### Creating Spans
6+
7+
- ``withAnySpan(_:context:ofKind:function:file:line:_:)-9jni8``
8+
- ``withAnySpan(_:at:context:ofKind:function:file:line:_:)-7fz6i``
9+
- ``withAnySpan(_:context:ofKind:isolation:function:file:line:_:)``
10+
- ``withAnySpan(_:at:context:ofKind:isolation:function:file:line:_:)``
11+
12+
- ``withAnySpan(_:context:ofKind:function:file:line:_:)-369ou``
13+
- ``withAnySpan(_:at:context:ofKind:function:file:line:_:)-6jzit``
14+
15+
### Manually Managing Spans
16+
17+
- ``startAnySpan(_:context:ofKind:function:file:line:)``
18+
- ``startAnySpan(_:at:context:ofKind:function:file:line:)``
19+
- ``startAnySpan(_:context:ofKind:at:function:file:line:)``
20+
- ``forceFlush()``
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ``Tracing/NestedSpanAttributesProtocol``
2+
3+
## Topics
4+
5+
### Created a nested set of attributes
6+
7+
- ``init()``
8+
- ``Key``
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ``Tracing/NoOpTracer``
2+
3+
## Topics
4+
5+
### Creating a no-op tracer
6+
7+
- ``init()``
8+
- ``startAnySpan(_:context:ofKind:at:function:file:line:)``
9+
- ``Span``
10+
11+
### Tracer Methods
12+
13+
- ``extract(_:into:using:)``
14+
- ``inject(_:into:using:)``
15+
- ``forceFlush()``
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# ``Tracing/Span``
2+
3+
## Topics
4+
5+
### Inspecting Spans
6+
7+
- ``operationName``
8+
- ``context``
9+
- ``isRecording``
10+
- ``attributes``
11+
12+
### Updating Spans
13+
14+
- ``setStatus(_:)``
15+
- ``updateAttributes(_:)``
16+
17+
### Recording Events
18+
19+
- ``addEvent(_:)``
20+
21+
### Recording Errors
22+
23+
- ``recordError(_:)``
24+
- ``recordError(_:attributes:)``
25+
- ``recordError(_:attributes:at:)``
26+
27+
### Recording Links
28+
29+
- ``addLink(_:)``
30+
- ``addLink(_:attributes:)``
31+
32+
### Ending Spans
33+
34+
- ``end()``
35+
- ``end(at:)``
36+
37+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# ``Tracing/SpanAttribute``
2+
3+
## Topics
4+
5+
### Types of attributes
6+
7+
- ``string(_:)``
8+
- ``stringArray(_:)``
9+
- ``stringConvertible(_:)``
10+
- ``stringConvertibleArray(_:)``
11+
- ``bool(_:)``
12+
- ``boolArray(_:)``
13+
- ``int(_:)``
14+
- ``int32(_:)``
15+
- ``int32Array(_:)``
16+
- ``int64(_:)``
17+
- ``int64Array(_:)``
18+
- ``double(_:)``
19+
- ``doubleArray(_:)``
20+
21+
### Comparing span attributes
22+
23+
- ``==(_:_:)``
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ``Tracing/SpanAttributeConvertible``
2+
3+
## Topics
4+
5+
### Converting to a span attribute
6+
7+
- ``toSpanAttribute()``

0 commit comments

Comments
 (0)