Skip to content

Commit

Permalink
Added a sentence about what we automatically track
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruin-NR committed Nov 6, 2023
1 parent 0f39903 commit 6f05ba1
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ metaDescription: 'Customize your mobile agent instrumentation to capture specifi
<TabsBarItem id="ios">
iOS
</TabsBarItem>
<TabsBarItem id="maui">
.NET MAUI
</TabsBarItem>
<TabsBarItem id="xamarin">
Xamarin
</TabsBarItem>
</TabsBar>

<TabsPages>
Expand All @@ -40,7 +34,8 @@ NewRelic.addHTTPHeadersTrackingFor(List<String> headers)

## Description [#description]

This API allows you to add any header field strings to a list that gets recorded as attributes with networking request events.
This API allows you to add any header field strings to a list that gets recorded as attributes with networking request events.
The Android agent currently automatically captures the following header fields: X-APOLLO-OPERATION-NAME, X-APOLLO-OPERATION-TYPE, and X-APOLLO-OPERATION-ID.

## Parameters [#parameters]

Expand Down Expand Up @@ -119,12 +114,13 @@ class MainActivity : AppCompatActivity() {
### Swift [#swift]

```swift
NewRelic.addHTTPHeaderTracking(for: [String])
func addHTTPHeaderTracking(for: [String])
```

## Description [#description]

This API allows you to add any header field strings to a list that gets recorded as attributes with networking request events.
The iOS agent currently automatically captures the following header fields: X-APOLLO-OPERATION-NAME, X-APOLLO-OPERATION-TYPE, and X-APOLLO-OPERATION-ID.

## Parameters [#parameters]

Expand Down

0 comments on commit 6f05ba1

Please sign in to comment.