@@ -1607,7 +1607,7 @@ You can populate the _client_IP_ field for requests by setting the `http.client_
1607
1607
1608
1608
##### [ .NET] ( #tab/net )
1609
1609
1610
- Use the add [ custom property example] ( #add-a-custom-property-to-a-trace ) , but replace the following lines of code in ` ActivityEnrichingProcessor.cs ` :
1610
+ Use the add [ custom property example] ( #add-a-custom-property-to-a-span ) , but replace the following lines of code in ` ActivityEnrichingProcessor.cs ` :
1611
1611
1612
1612
``` C#
1613
1613
// only applicable in case of activity.Kind == Server
@@ -1620,7 +1620,7 @@ Java automatically populates this field.
1620
1620
1621
1621
##### [ Node.js] ( #tab/nodejs )
1622
1622
1623
- Use the add [ custom property example] ( #add-a-custom-property-to-a-trace ) , but replace the following lines of code:
1623
+ Use the add [ custom property example] ( #add-a-custom-property-to-a-span ) , but replace the following lines of code:
1624
1624
1625
1625
``` javascript
1626
1626
...
@@ -1637,7 +1637,7 @@ class SpanEnrichingProcessor {
1637
1637
1638
1638
##### [ Python] ( #tab/python )
1639
1639
1640
- Use the add [ custom property example] ( #add-a-custom-property-to-a-trace ) , but replace the following lines of code in ` SpanEnrichingProcessor.py ` :
1640
+ Use the add [ custom property example] ( #add-a-custom-property-to-a-span ) , but replace the following lines of code in ` SpanEnrichingProcessor.py ` :
1641
1641
1642
1642
``` python
1643
1643
span._attributes[" http.client_ip" ] = " <IP Address>"
@@ -1684,7 +1684,7 @@ Populate the `user ID` field in the `requests`, `dependencies`, or `exceptions`
1684
1684
1685
1685
#### [ Node.js] ( #tab/nodejs )
1686
1686
1687
- Use the add [ custom property example] ( #add-a-custom-property-to-a-trace ) , but replace the following lines of code:
1687
+ Use the add [ custom property example] ( #add-a-custom-property-to-a-span ) , but replace the following lines of code:
1688
1688
1689
1689
``` typescript
1690
1690
...
@@ -1701,7 +1701,7 @@ class SpanEnrichingProcessor implements SpanProcessor{
1701
1701
1702
1702
##### [ Python] ( #tab/python )
1703
1703
1704
- Use the add [ custom property example] ( #add-a-custom-property-to-a-trace ) , but replace the following lines of code:
1704
+ Use the add [ custom property example] ( #add-a-custom-property-to-a-span ) , but replace the following lines of code:
1705
1705
1706
1706
``` python
1707
1707
span._attributes[" enduser.id" ] = " <User ID>"
@@ -1824,7 +1824,7 @@ See [sampling overrides](java-standalone-config.md#sampling-overrides-preview) a
1824
1824
```
1825
1825
1826
1826
2 . Use a custom processor . You can use a custom span processor to exclude certain spans from being exported . To mark spans to not be exported , set `TraceFlag ` to `DEFAULT `.
1827
- Use the add [custom property example ](#add - a - custom - property - to - a - trace ), but replace the following lines of code :
1827
+ Use the add [custom property example ](#add - a - custom - property - to - a - span ), but replace the following lines of code :
1828
1828
1829
1829
```javascript
1830
1830
const { SpanKind , TraceFlags } = require (" @opentelemetry/api" );
0 commit comments