Commit Graph

120 Commits

Author SHA1 Message Date
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
steve robb
f43fc1d782 Fixed up more bool-taking calls to take EAllowShrinking instead.
[CL 30894388 by steve robb in ue5-main branch]
2024-01-25 14:09:12 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
mark lintott
6e838f66c0 Studio Telemetry Update:
Added IAnalyticsTracer and IAnalyticsSpan interface that superseeds the FFlowTracker
StudioTelemetry no longer uses FFLowTracker and uses the simpler IAnalyticsTracer API instead inspired by OpenTelemetry Tracer/Span model.
Deprecated FFLowTracker as of 5.4
Added lots of documentation to the StudioTelemetry plugin code.
Moved creation of the AnalyticsProviderLog to the public BaseEngine.ini so it can be used as a public facing example. This will simply write out a JSON file to the Saved/Telemetry folder and overwrite it per session
Added new callbacks for PIE so that we can decopule when a PIE work has been created and is ready from when ALL PIE worlds have been created and are ready which makes TimeToPIE accurate for all projects.
Rolled in some shutdown recommendations from Paul.Chipchase.
Various fixes and improvements to the JSON file logigng example. Now works correctly with Tableau import.
#rb Eric.Knapik, Wes.Hunt, paul.chipchase

[CL 30391931 by mark lintott in ue5-main branch]
2023-12-19 06:42:52 -05:00
mark lintott
b99d530ce0 Moved EpicStudioAnalytics plugin to StudioTelemetry which is now public facing.
The intention is to provide a set of "in the box" telemetry hooks to our most common developer workflows for use internal Epic use and licensees
Moved startup of StudioTelemetry plugin much earlier to PostConfigInit stage so that sessions can start much earlier in the workflow
Added WIP Client support to telemetry plugin
Added data driven provider support for FAnlayiticProvidersET interfaces via BaseEngine.ini for common games and sample projects. Settings and URLs for EPic are only avaliable in Resttricted/NotForLicensee config folders for Lyra and Shooter game.
Added support for Horde telemetry and fixed up various problems with duplicate attributes being sent.
Added Core.VirtualAssets telemetry event
Added Core.Zen telemetry event
Added Core.IAS telemetry event
Added check for IOStoreOnDemand IsEnabled to avoid sending empty IAS events
Added FAnalyticsMulticastProvider to forward telemetry events to multiple providers contained within
Removed deprecated Fire_LoadingEvent from StudioAnalytics
[FYI] paul.chipchase
#rb Wes.Hunt

[CL 29908039 by mark lintott in ue5-main branch]
2023-11-23 07:06:10 -05:00
lorry li
f7ee29e5fe Resubmit after: //Fortnite/Main/... changelist 29101420
Make retry system don't rely on Tick from game thread;
Make http tests can run with retry system enabled/disabled.

#jira UE-163631
[REVIEW] [at]michael.atchison [at]michael.kirzinger
#rb [at]michael.atchison, [at]michael.kirzinger
#tests Passed WebTests, also tried on Windows to reach main menu

[CL 29180201 by lorry li in ue5-main branch]
2023-10-27 08:42:11 -04:00
wes hunt
c6408e7334 Change analytics testing to not spew warnings if the flush takes too long. Still spews info logging to help profilers track down responsible parties. Will spew warnings when payloads are too large because those issues should be addressed immediately in any tool.
#jira UE-197708
[FYI] Matt.Peters
#tests Compile

[CL 29166462 by wes hunt in ue5-main branch]
2023-10-26 22:26:56 -04:00
bob tellez
549b6f8bc8 [Backout] - CL29087771
[FYI] lorry.li
Original CL Desc
-----------------------------------------------------------------
Make retry system don't rely on Tick from game thread;
Make http tests can run with retry system enabled/disabled.

#jira UE-163631
[REVIEW] [at]michael.atchison [at]michael.kirzinger
#rb [at]michael.atchison, [at]michael.kirzinger
#tests Passed WebTests, also tried on Windows to reach main menu

[CL 29101454 by bob tellez in ue5-main branch]
2023-10-25 16:43:47 -04:00
lorry li
c6aee9025c Make retry system don't rely on Tick from game thread;
Make http tests can run with retry system enabled/disabled.

#jira UE-163631
[REVIEW] [at]michael.atchison [at]michael.kirzinger
#rb [at]michael.atchison, [at]michael.kirzinger
#tests Passed WebTests, also tried on Windows to reach main menu

[CL 29087807 by lorry li in ue5-main branch]
2023-10-25 10:01:09 -04:00
matt peters
44783d48cd AnalyticsProviderETEventCache: Change the automation test from SmokeFilter (runs early on startup) to EngineFilter (runs only when requested). In monolithic editor configurations, running at SmokeFilter time occurs before StartupModule is called, and the test requires some code from StartupModule.
#jira UE-197708
#rnx
#rb Matt.Peters

[CL 29044243 by matt peters in ue5-main branch]
2023-10-24 08:59:56 -04:00
matt peters
926355f7f8 AnalyticsProviderETEventCache: Add more feedback to the warning message "EventCache took too long to flush."
#jira UE-197708
#rnx
#rb Wes.Hunt

[CL 28980900 by matt peters in ue5-main branch]
2023-10-20 16:43:43 -04:00
matt peters
5183f1b598 Analytics: Set PayloadFlushTimeSecForWarning to a larger value when running in commandlets because hitches in commandlets are unimportant.
#rnx
#rb Wes.Hunt

[CL 27171750 by matt peters in ue5-main branch]
2023-08-17 09:56:59 -04:00
francis hurteau
562b56049f Fix for Analytics tick float overflow, restore original intent
#rb Rex.Hill

[CL 26688683 by francis hurteau in ue5-main branch]
2023-07-28 17:30:10 -04:00
michael atchison
5140f3d6c8 Add support for comments in the default http user agent string.
[REVIEW] [at]lorry.li, [at]eric.day

[CL 26498012 by michael atchison in ue5-main branch]
2023-07-20 17:21:44 -04:00
robert millar
4facb7ef60 Add -telemetrytesting command line argument as an easier-to-remember version of analyticsdisablecaching
#rb wes.hunt

[CL 26275487 by robert millar in ue5-main branch]
2023-06-27 19:36:19 -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
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
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
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
matt peters
71802fb86c Analytics: Backed out 22909100 and 22951911
#rnx

[CL 23583550 by matt peters in ue5-main branch]
2023-01-04 18:51:41 -05:00