From bbae780fcced70ceb1fda61870a9f2c540abff0f Mon Sep 17 00:00:00 2001 From: pranav-new-relic Date: Thu, 13 Jul 2023 11:58:35 +0530 Subject: [PATCH] fix(BrowserApplicationEntity): addition of browserProperties fields --- pkg/entities/entities_api.go | 7 +++++++ pkg/entities/types.go | 22 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/pkg/entities/entities_api.go b/pkg/entities/entities_api.go index 18f6f6383..122c3bd71 100644 --- a/pkg/entities/entities_api.go +++ b/pkg/entities/entities_api.go @@ -519,6 +519,11 @@ const getEntitiesQuery = `query( } agentInstallType applicationId + browserProperties { + jsConfig + jsConfigScript + jsLoaderScript + } browserSummary { ajaxRequestThroughput ajaxResponseTimeAverage @@ -1338,6 +1343,8 @@ const getEntityQuery = `query( } } browserProperties { + jsConfig + jsConfigScript jsLoaderScript } browserSummary { diff --git a/pkg/entities/types.go b/pkg/entities/types.go index 6a425a60b..1edfa654c 100644 --- a/pkg/entities/types.go +++ b/pkg/entities/types.go @@ -2975,6 +2975,16 @@ type AgentApplicationSettingsBrowserPrivacy struct { CookiesEnabled bool `json:"cookiesEnabled"` } +// AgentApplicationSettingsBrowserProperties - General Properties related to browser applications. +type AgentApplicationSettingsBrowserProperties struct { + // The configuration required to run the npm version of the JS agent. This is the "pure" JSON configuration block without surrounding HTML