newrelic / newrelic-android-agent

SDK to enable instrumentation of Android mobile apps in New Relic
Apache License 2.0
13 stars 11 forks source link

[NR-247779] Connect remote config to AEI feature #217

Closed cthomas-newrelic closed 4 months ago

cthomas-newrelic commented 4 months ago

Based on agent spec, extract the new "configuration" element from the connect request response body (Json) and propagate to runtime agent configuration.

By default, AEI config will be enabled locally but still gated by feature flag so it can be used prior to config UI/ingest integration.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 71.15385% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 55.87%. Comparing base (22b312a) to head (79ba4db).

Files Patch % Lines
...ic/agent/android/ApplicationExitConfiguration.java 71.42% 2 Missing and 2 partials :warning:
...ic/agent/android/harvest/HarvestConfiguration.java 62.50% 1 Missing and 2 partials :warning:
...a/com/newrelic/agent/android/AndroidAgentImpl.java 0.00% 2 Missing and 1 partial :warning:
...com/newrelic/agent/android/AgentConfiguration.java 66.66% 2 Missing :warning:
...om/newrelic/agent/android/RemoteConfiguration.java 81.81% 1 Missing and 1 partial :warning:
...in/java/com/newrelic/agent/android/SavedState.java 87.50% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/nr230991-appExitInfo #217 +/- ## ================================================================== + Coverage 55.82% 55.87% +0.04% - Complexity 3207 3221 +14 ================================================================== Files 321 323 +2 Lines 16373 16406 +33 Branches 1781 1784 +3 ================================================================== + Hits 9141 9167 +26 - Misses 6273 6277 +4 - Partials 959 962 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.