Feat: Extending report interaction with static context that can be appended to all interaction events (#88927)

* Extending report interaction with static context that can be appended to all requests
This commit is contained in:
Timur Olzhabayev authored and GitHub committed 2024-07-08 16:37:45 +02:00
1 parent cff9ecbd6d
commit f763f2085b
8 files changed
+24

No files matched your search

+1
View File
@@ -231,6 +231,7 @@ type FrontendSettingsDTO struct {
SupportBundlesEnabled bool `json:"supportBundlesEnabled"`
SnapshotEnabled bool `json:"snapshotEnabled"`
SecureSocksDSProxyEnabled bool `json:"secureSocksDSProxyEnabled"`
ReportingStaticContext map[string]string `json:"reportingStaticContext"`
Azure FrontendSettingsAzureDTO `json:"azure"`
+1
View File
@@ -226,6 +226,7 @@ func (hs *HTTPServer) getFrontendSettings(c *contextmodel.ReqContext) (*dtos.Fro
SharedWithMeFolderUID: folder.SharedWithMeFolderUID,
RootFolderUID: accesscontrol.GeneralFolderUID,
LocalFileSystemAvailable: hs.Cfg.LocalFileSystemAvailable,
ReportingStaticContext: hs.Cfg.ReportingStaticContext,
BuildInfo: dtos.FrontendSettingsBuildInfoDTO{
HideVersion: hideVersion,