177 Commits

Author SHA1 Message Date
francis hurteau
c6681ef3f3 Fix for Analytics tick float overflow, restore original intent
#rb Rex.Hill

[CL 26688146 by francis hurteau in 5.3 branch]
2023-07-28 17:14:11 -04:00
michael atchison
887ed4a125 Add support for comments in the default http user agent string.
[REVIEW] [at]lorry.li, [at]eric.day

[CL 26496972 by michael atchison in 5.3 branch]
2023-07-20 16:54:42 -04:00
robert millar
dbf7d304a2 [Backout] - CL26359042
[FYI] robert.millar
Original CL Desc
-----------------------------------------------------------------
Version of ProvideTelemetry taking a lambda to avoid calculating some statistics if they aren't necessary.

#rb none

[CL 26362025 by robert millar in 5.3 branch]
2023-07-01 00:22:52 -04:00
robert millar
6109215775 Version of ProvideTelemetry taking a lambda to avoid calculating some statistics if they aren't necessary.
#rb none

[CL 26359109 by robert millar in 5.3 branch]
2023-06-30 19:00:57 -04:00
robert millar
2686556183 Add -telemetrytesting command line argument as an easier-to-remember version of analyticsdisablecaching
#rb wes.hunt

[CL 26274285 by robert millar in 5.3 branch]
2023-06-27 18:44:54 -04:00
robert millar
aaa0f3dc22 Router object to connect telemetry producers with consumer that can aggregate, filter, format and send telemetry to endpoints.
#rb logan.buchy

[CL 26248294 by robert millar in 5.3 branch]
2023-06-26 19:03:01 -04:00
henrik karlsson
562dc45ab9 [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082288 by henrik karlsson in 5.3 branch]
2023-06-17 18:14:12 -04:00
logan buchy
8cb8cff1ba Feedback changes to Collections telemetry
* Moved workflow tracking of collection manipulations up one level to target user interaction only
* Added create/destroy collection workflows
* Remove hand-holding utilities aimed to ease verbosity of telemetry event generation

#rb wes.hunt
#jira UE-155132
#preflight 6463b34f063e77985c259c71

[CL 25492328 by logan buchy in ue5-main branch]
2023-05-16 13:02:13 -04:00
mark lintott
2e0bfad6c8 Minor tweak to the regions. Fixed the matching Begin/End for SubFLow and removed the FLow/SubFLow prefix
[FYI] robert.millar
#preflight none

[CL 25411016 by mark lintott in ue5-main branch]
2023-05-10 14:11:37 -04:00
mark lintott
540a29dfb3 Added support for Unreal Insights Regions in Analytics Flow Tracker
#rb robert.millar
#preflight trivial

[CL 25410778 by mark lintott in ue5-main branch]
2023-05-10 14:05:36 -04:00
logan buchy
31fae2d424 Add copyright notice to AnalyticsTimedTelemetryEvents.h
#rb trivial
#jira UE-155132
#preflight none

[CL 25291972 by logan buchy in ue5-main branch]
2023-05-01 17:15:42 -04:00
logan buchy
63b05e7fc4 Collection Manager Telemetry Events
* Uses method of exposing a delegate for telemetry events to be registered by a StudioAnalytic provider implementation to avoid embedding schema in the engine
* Generic templates for RAII scoped timed telemetry events added to aid in generating timed events

#jira UE-155132
#rb Brooke.Hubert Wes.Hunt Ronald.Koppers
#preflight 645022cdee56ca4c247ef92a

[CL 25291458 by logan buchy in ue5-main branch]
2023-05-01 17:00:52 -04:00
mark lintott
cf1f3c5e88 Improved Editor Flow Analytics and extended the EditorAnalytics to demonstrate correct usage of SubFLow/Flow
Added correct PIE Flow and SubFlow tracking
Added WorldStreaming tracking
Fixed several bugs in Flow Tracker
Added ThreadId to SubFlow and FLow types
#rb logan.buchy
#preflight 6447bbddf030f684d583ac14

[CL 25195293 by mark lintott in ue5-main branch]
2023-04-26 05:34:48 -04:00
mark lintott
2221267dc9 Renamed FlowStep back to SubFlow
#rb trivial
#preflight none

[CL 25085267 by mark lintott in ue5-main branch]
2023-04-18 09:40:54 -04:00
mark lintott
fe24bd9643 Removed Optimization Macros
Fixed Non-Unity compile issues
#rb trivial
#preflight none

[CL 25083771 by mark lintott in ue5-main branch]
2023-04-18 07:17:17 -04:00
mark lintott
e63c334048 EpicStudioAnalytics plugin rewrite
High Level Vision:
https://docs.google.com/document/d/13R4nJ2UNMJZlf6JCjYssFMSY-5CrURazE4tqxW77yBw/edit#heading=h.bpycydduomgi

Details of changes:
Removed "most" references to FStudioAnalytics from Engine code.
Deprecated use of FStudioAnalytics::FireEvent_Loading(), will deprecate FStudioAnalytics in due course.
Added FAnalyticsFlowTracker to the engine code base based on the flow system used in UEFN.
Added explicit DDC Resource and DDC Summary events to track DDC usage by resource type.
Moved common Editor analytics callbacks into EpicStudioAnalytics plugin
Added a variety of delegates to the engine code to so that analytics capture can be defined in the plugin code or within the game code instead of the engine code ( eg. load map, editor initialization, cooking, slow task )
Added JSON serializer for analytics events to provide facility to capture analytics in restriced environments ( eg. UEFN CookWorker ). Though this fetaure is not enabled yet.
This will temporarily break Loading and Cooking analytics for Lyra, ShooterGame, CitySample but not Fortnite or UEFN. The remainder will need to be "fixed up" in UE5/Main once the changes have propogated (stakeholders have been notified)

[FYI] zousar.shaker, devin.doucette, eric.knapik, francis.hurteau
#rb wes.hunt
#preflight 643e45150a5a4b944e603be8

[CL 25083739 by mark lintott in ue5-main branch]
2023-04-18 07:16:36 -04:00
michael atchison
6e3e668f8b Update analytics user id and crash reporting user id when the epic account id for the running process changes.
[REVIEW] [at]patrick.laflamme, [at]wes.hunt, [at]eric.day
#preflight 63f065463c1eb56f0516c03e

[CL 24355926 by michael atchison in ue5-main branch]
2023-02-22 00:22:48 -05:00
mark lintott
0d2b4baea2 Added ValkyrieFortniteEditorAnalytics so we can slide a different analytics backend under at a later date
Replaced references to FEngineAnalytics::GetProvider().RecordEvent to FValkyrieFortniteEditorAnalytics::Get().RecordEvent
-fyi eric.kanpik
#rb trivial
#p4v-preflight-copy 24336781

[CL 24343391 by mark lintott in ue5-main branch]
2023-02-21 13:04:48 -05:00
dmytro vovk
ac03496ae7 Reduced code bloat from template instantiation
#rb Phil.Popp
#preflight 63f355231d71bcd2620c9e1c

[CL 24314966 by dmytro vovk in ue5-main branch]
2023-02-20 11:01:35 -05:00
mark lintott
6a49906c69 Added support for nested Flows to ValkyrieAnalytics
Added new API to support Flow and SubFlow Guids
Added new Scoped helper classes for simple flow and sub flows
Improved thread safety of ValkyrieAnalytics API
Added RecordeEvent API to ValkyrieAnalytics
#rb eric.knapik
#preflight 63ef9fc613586f2c1015ae35

[CL 24287739 by mark lintott in ue5-main branch]
2023-02-17 14:17:50 -05:00
mark lintott
5a960640bf A rather large refactor of ValkyrieAnalytics API ready for future expansion and use cases.
Changed the API fro ValkyriePlayAnalytics to ValkyrieFlowAnalytics
Removed as much of the Play/Flow specific code in the ValkyriePLayAnalaytics so that it is a more general API for other flows
Renamed APIs
StartScope->StartSubFlow
EndScope->EndSubFlow
EndFlowAndPushToDB->EndFlow
Added GUID generation to StartFLow/StartSubFlow so flows and sub flows always have a unique GUID which is returned
Added EndFlow/EndSubFlow methods that accept a FGuid in additional to the existing FName methods. This is the more explicit version of the API that will support multiple flows and sub flows at a time.
Moved the Flow data into a struct of its own so we can support multiple flows with unique GUIDs in the next update
Added FlowGuid and SubFlowGuid to the SubFlow structure
[FYI] eric.knapik, garry.casey
#prefllight 24208820

[CL 24251665 by mark lintott in ue5-main branch]
2023-02-16 01:55:28 -05:00
eamon tpowell
a2d3ec2654 Added support for additional analytic-related argument parsing
[REVIEW] [at]Rob.Cannaday

#preflight 63d7a1d8d21dbe1d29325f6f

[CL 23914044 by eamon tpowell in ue5-main branch]
2023-01-30 14:43:57 -05:00
steve robb
b1201830a3 Removed TIsSame usage from AIModule (part of a larger change to deprecate TIsSame).
#rb none
#preflight 63c1a94c2e714f64ad2d7f36

[CL 23685806 by steve robb in ue5-main branch]
2023-01-13 15:58:40 -05:00
Francis Hurteau
febc04ca18 Activating truncation warnings for
Analytics, AnalyticsET, Cbor, Serialization, XMLParser, DerivedDataEditor, DirectoryWatcher, LogVisualizer, InputCore

fixing a few addtional truncation warnings in SDerivedDataDialogs

#jira UE-166274
#rb Devin.Doucette
#preflight 63c05622305002c6417a8bd3

[CL 23668557 by Francis Hurteau in ue5-main branch]
2023-01-12 15:27:09 -05:00
francis hurteau
239f9e142c Truncation warning fixes for multiple core modules:
Analytics, AnalyticsET, Cbor, Serialization, XMLParser, DerivedDataEditor, DirectoryWatcher, LogVisualizer, OutputLog, InputCore

#jira UE-166274
#rb Devin.Doucette
#preflight 63c01436d862fdd347e2dd74

[CL 23664694 by francis hurteau in ue5-main branch]
2023-01-12 11:57:28 -05:00