From 418048d66f430a247b443c9ed8958b2f6f2112eb Mon Sep 17 00:00:00 2001 From: Michael Bruin Date: Mon, 17 Nov 2025 14:27:01 -0500 Subject: [PATCH 1/4] NR-484509 added background to the DD and updated the docs to point at it --- .../mobile-sdk/configure-settings.mdx | 4 ++-- src/data/attribute-dictionary-en.json | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/content/docs/mobile-monitoring/new-relic-mobile/mobile-sdk/configure-settings.mdx b/src/content/docs/mobile-monitoring/new-relic-mobile/mobile-sdk/configure-settings.mdx index c4705210f9f..1cb4588898c 100644 --- a/src/content/docs/mobile-monitoring/new-relic-mobile/mobile-sdk/configure-settings.mdx +++ b/src/content/docs/mobile-monitoring/new-relic-mobile/mobile-sdk/configure-settings.mdx @@ -282,7 +282,7 @@ withApplicationVersion("MY APP VERSION") - Enable or disable background reporting when application goes to the background state. + Enable or disable background reporting when application goes to the background state. When enabled, the agent reports data captured while the app is in the background, and the [`background` attribute](/attribute-dictionary/?event=MobileSession&attribute=background) is added to session attributes. @@ -1202,7 +1202,7 @@ NewRelic.enableFeatures(NRMAFeatureFlags.NRFeatureFlag_OfflineStorage) - Enable or disable background reporting when application goes to the background state. + Enable or disable background reporting when application goes to the background state. When enabled, the agent reports data captured while the app is in the background, and the [`background` attribute](/attribute-dictionary/?event=MobileSession&attribute=background) is added to session attributes. diff --git a/src/data/attribute-dictionary-en.json b/src/data/attribute-dictionary-en.json index b840286410c..7a5880b03dc 100644 --- a/src/data/attribute-dictionary-en.json +++ b/src/data/attribute-dictionary-en.json @@ -11964,6 +11964,19 @@ "name": "asnOwner", "units": null }, + { + "definition": "

Indicates whether the session event was captured while the app was in the background state. This attribute is only present when background reporting is enabled. For more information, see configure mobile monitoring settings.

\n", + "events": [ + "MobileApplicationExit", + "MobileCrash", + "MobileHandledException", + "MobileRequest", + "MobileRequestError", + "MobileSession" + ], + "name": "background", + "units": null + }, { "definition": "

The unique string used to identify the application.

\n", "events": [ @@ -25162,4 +25175,4 @@ "definition": "

The workload status is derived from the alerting status of entities in your workload. This allows you to set up an alert condition to notify you whenever the workload goes into a DISRUPTED or DEGRADED status.

\n", "name": "WorkloadStatus" } -] \ No newline at end of file +] From 8e4f202ac1c4953508f2c6ec674e5ec75ad1a94e Mon Sep 17 00:00:00 2001 From: Michael Bruin Date: Mon, 17 Nov 2025 15:16:47 -0500 Subject: [PATCH 2/4] reverts the data dictionary change, moved it to attribute-dictionary repo --- src/data/attribute-dictionary-en.json | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/data/attribute-dictionary-en.json b/src/data/attribute-dictionary-en.json index 7a5880b03dc..a1e30ad4a6d 100644 --- a/src/data/attribute-dictionary-en.json +++ b/src/data/attribute-dictionary-en.json @@ -11964,19 +11964,6 @@ "name": "asnOwner", "units": null }, - { - "definition": "

Indicates whether the session event was captured while the app was in the background state. This attribute is only present when background reporting is enabled. For more information, see configure mobile monitoring settings.

\n", - "events": [ - "MobileApplicationExit", - "MobileCrash", - "MobileHandledException", - "MobileRequest", - "MobileRequestError", - "MobileSession" - ], - "name": "background", - "units": null - }, { "definition": "

The unique string used to identify the application.

\n", "events": [ From e9f9bcfea221521da22c4a9dbad74e22b0de4cdf Mon Sep 17 00:00:00 2001 From: Michael Bruin Date: Tue, 18 Nov 2025 09:46:14 -0500 Subject: [PATCH 3/4] trying again to revert --- src/data/attribute-dictionary-en.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/data/attribute-dictionary-en.json b/src/data/attribute-dictionary-en.json index a1e30ad4a6d..072a4175654 100644 --- a/src/data/attribute-dictionary-en.json +++ b/src/data/attribute-dictionary-en.json @@ -25163,3 +25163,4 @@ "name": "WorkloadStatus" } ] + From 86bdec082a7e517dd9944ca05514e3dd37d12b89 Mon Sep 17 00:00:00 2001 From: mbruin-NR <118208503+mbruin-NR@users.noreply.github.com> Date: Tue, 18 Nov 2025 09:46:52 -0500 Subject: [PATCH 4/4] Update attribute-dictionary-en.json --- src/data/attribute-dictionary-en.json | 1 - 1 file changed, 1 deletion(-) diff --git a/src/data/attribute-dictionary-en.json b/src/data/attribute-dictionary-en.json index 072a4175654..a1e30ad4a6d 100644 --- a/src/data/attribute-dictionary-en.json +++ b/src/data/attribute-dictionary-en.json @@ -25163,4 +25163,3 @@ "name": "WorkloadStatus" } ] -