Skip to content

Commit

Permalink
Merge pull request #20101 from ywang-nr/develop
Browse files Browse the repository at this point in the history
[NR-373715] add data endpoint settings
  • Loading branch information
adutta-newrelic authored Mar 3, 2025
2 parents 97908b9 + 2aaf439 commit d1106a8
Showing 1 changed file with 57 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,63 @@ NewRelic.withApplicationToken(NEW_RELIC_TOKEN)
.start(this.getApplication());
```

## Data endpoint settings [#android-data-endpoint-settings]

<table>
<thead>
<tr>
<th style={{ width: "800px" }}>
Description
</th>

<th>
Example
</th>
</tr>
</thead>

<tbody>
<tr>
<td>
Enable or disable crash reporting, which appears on the [<DNT>**Crash analysis**</DNT> page](/docs/mobile-monitoring/mobile-monitoring-ui/crashes/crash-analysis-group-filter-your-crashes).

Specifies the URI authority component of the harvest data upload endpoint. This endpoint is also used for handled exception uploads.

To replace data endpoint the agent will use when reporting data harvests, add `andCollectorAddress:` to your `NewRelic.withApplicationToken(“<TOKEN>”)` method call.

Default value is `mobile-collector.newrelic.com`.
</td>

<td>
```java
NewRelic.withApplicationToken(“<TOKEN>”)
.usingCollectorAddress("harvest-upload.domain.com")
.usingCrashCollectorAddress("crash-upload.domain.com")
```
</td>
</tr>

<tr>
<td>
Specifies the authority component of the crash data upload URI.

To replace data endpoint the agent will use when reporting crashes, add `andCrashCollectorAddress:` to your `NewRelic.withApplicationToken(“<TOKEN>”)` method call.

Default value is `mobile-crash.newrelic.com`.
</td>

<td>
```java
NewRelic.withApplicationToken(“<TOKEN>”)
.usingCollectorAddress("harvest-upload.domain.com")
.usingCrashCollectorAddress("crash-upload.domain.com")
```
</td>
</tr>
</tbody>
</table>


## Analytics settings [#android-analytics-settings]

<table>
Expand Down

0 comments on commit d1106a8

Please sign in to comment.