* Move locker analytics into their own file
* Moved old loadout analytics code to new location so it's not in a huge shared header
[REVIEW] [at]spencer.melnick, [at]jared.joyral, [at]arturo.oppen, [at]sergei.gozalov
#tests Tested that a breakpoint in the code was being hit in the correct circumstances and with the expected info.
[CL 33867431 by christian savoie in ue5-main branch]
Send SlowTask as a the span name for slow tasks instead of the dynamically created string. This makes filitering to SpanName almost impossible in the telemetry
Reduced the high frequency generation of Span events as this made Tableau dashbaords unusable
Added a new hitch detector that samples AverageFPS over a high frequency ( every 0.5 sec ) but records hitch spans at a much lower rate ( every 5 seconds )
Increased the schema version for spans to 2 so we can filter out the old high frequency data
[FYI] Wes.Hunt, matt.breindel, ionut.matasaru
[CL 31394972 by mark lintott in ue5-main branch]
Original CL Desc
-----------------------------------------------------------------
Move the initial declaration of ::BlockUntilFlushed from IAnalyticsProviderET to it's parent class IAnalyticsProvider and improve the documentation showing the difference between ::FlushEvents and ::BlockUntilFlushed.
#rb mark.lintott
#rnx
[CL 31207392 by paul chipchase in ue5-main branch]
Simplified the parent child relationship. Moved this code out of AnalyticsSpan and int AnalyticsTracer. Resulting in much cleaner code and faster search.
No longer supporting the Span_ParentName in the event telemetry as Spans no longer know anythign about their parent child relationship. This behavior is specfic to the IAnalyticsTracer implementation.
Added GetId() to AnalyticsSpan. Tracking of parent/child relationships by ID much more efficient now.
Removed StartSpan( Span, Attribuites ) from the public API as this is not used.
Fixed issue where parent span attrbiutes are added twice
Fixed typo in EndPIE callabck
#rb Wes.Hunt, kevin.macaulayvacher
[CL 30998611 by mark lintott in ue5-main branch]
Added PIE.PreBegin span to StudioTelemetry which was not previously captured in the PIE Phase
Added FStudioTelemetry::ScopedSpan class
Added ScopedSpan Fort.PIEStart
Refcactored how span stack depth works. Now use a stack for all active spans. Spans no longer inherit a parent if one is not specifed, this means unrelated stagerred spans can now run wothout being stopped by an unrelated parent span.
Removed the Child Lists in Spans This i smuch sumpler code now. The Span only has a parent and the code to explicitly shut down child spans on close of parent is now internal to the Tracer implementation
Added a OnPIEStarted editor event which is the first poiint at which PIE is requested to Start. Moved the PIE span to start on this event. This means that FN Start PIE span is correctly counted as part of the PIE span and Editor.Interact PIE.Startup are more representative of the actual workflow.
Added ShutDownPIE event to the Editor code.
Added the PIE.Shutdown span that listens to the OnPIECancelled event, now we can track how long PIE actually takes to shutdown and return to Editor.Interact.
Added easy to use STUDIO_TELEMETRY_SPAN_SCOPE, STUDIO_TELEMETRY_START_SPAN,STUDIO_TELEMETRY_END_SPAN macros to StudioTelemetry
[FYI] matt.breindel, Francis.Hurteau, kevin.macaulayvacher
#rb kevin.macaulayvacher, Wes.Hunt
[CL 30959276 by mark lintott in ue5-main branch]
Added IsActive to FAnalyticsSpan API
Reduced Hitch Detector frequency from 5sec to 1sec
Added Asset Registry Activity span
[FYI] matt.breindel
[CL 30847807 by mark lintott in ue5-main branch]
Added basic hitch detection telemetry to StudioTelemetryEditor
Changed const FName& to const FName across API calls so they are consistent
Added RecordEvent( Category, Name, Attributes ) to API for future feature support
Renamed RecordEvent( Provider, Name, Attributes ) to RecordEventToProvider( ) so it is more explicit and does not confuse with RecordEvent( Category.. )
Added new attribute Config_IsDebuggerPresent to track whether a debugger is attached to the session or not.
#rb matt.breindel
[CL 30836596 by mark lintott in ue5-main branch]
Replaced PLATFORM_COMPILER_HAS_DECLTYPE_AUTO blocks.
Replaced PLATFORM_COMPILER_HAS_FOLD_EXPRESSIONS blocks.
[CL 30600164 by steve robb in ue5-main branch]
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]
Fixed up FileLogging, AnalyticsSwrve and AnalyticsMulticast to implement the IAnalyticsProvider changes to Set/GetDefaultAttributes
Replaced dependency on IAnalyticsProviderET with IAnalyticsProvider in Studio Telemetry
Added Dynamic Analytics Provider Module Loading support. Replaced hard coded provider creation with dynamic IAnalyticsModule interface through modules
Added AnalyticsLog module as an example for 3rd parties to add custom, data driven IAnalyticsProviders to Studio Telemetry
Updated the ini files to use ProviderModule as the factory type for Porivder creation
[FYI] wes.hunt
[CL 30212753 by mark lintott in ue5-main branch]
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]