Commit Graph

179 Commits

Author SHA1 Message Date
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
robert millar
8fa30b3f98 Add size validation to sometimes catch copy-pasted guids in telemetry event declarations.
Use FMemoryView instead of const void*.

#rb none

[CL 26924675 by robert millar in ue5-main branch]
2023-08-08 14:29:17 -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
166dac7f56 [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 26362037 by robert millar in ue5-main branch]
2023-07-01 00:23:21 -04:00
robert millar
05d889052f Version of ProvideTelemetry taking a lambda to avoid calculating some statistics if they aren't necessary.
#rb none

[CL 26359099 by robert millar in ue5-main branch]
2023-06-30 19:00:39 -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
robert millar
5805d87cef Router object to connect telemetry producers with consumer that can aggregate, filter, format and send telemetry to endpoints.
#rb logan.buchy

[CL 26248327 by robert millar in ue5-main branch]
2023-06-26 19:04:16 -04:00
henrik karlsson
5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -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