Files
UnrealEngine/Engine/Source/Programs/Horde/Docs/Tutorials/Analytics.md
2025-05-18 13:04:45 +08:00

2.1 KiB

Horde > Getting Started: Analytics

Getting Started: Analytics

Introduction

Horde implements a telemetry collector which can receive and process events sent by the Unreal Editor.

Horde aggregates telemetry events into metrics for discrete time intervals, which can then be charted by the Horde dashboard to give valuable insights into the bottlenecks experienced by your team.

Analytics

Prerequisites

Steps

  1. Open your project in the Unreal Editor and go to the Edit > Plugins menu. Search for the Studio Telemetry plugin and make sure it is enabled. It should be enabled by default.

  2. Open your project's DefaultEngine.ini file (in the Config folder next to your .uproject file) and add the following lines:

    [StudioTelemetry.Provider.Horde]
    Name=HordeAnalytics
    ProviderModule=AnalyticsET
    UsageType=EditorAndClient
    APIKeyET=HordeAnalytics.Dev
    APIServerET="http://localhost:13340/"
    APIEndpointET="api/v1/telemetry/engine"
    

    Make sure to replace the value for APIServerET with the address of your Horde Server.

  3. Configure a telemetry store to aggregate metrics from your telemetry events. There are some default metrics and charts included with the Horde installation, which can be added by adding the following snippet to your globals.json file:

    // Define the 'Engine' telemetry store and create some standard metrics & views with it.
    "analytics": {
        "stores": [
            {
                "id": "engine",
                "include": [
                    {
                        "path": "$(HordeDir)/Defaults/default-metrics.telemetry.json"
                    },
                    {
                        "path": "$(HordeDir)/Defaults/default-views.telemetry.json"
                    }
                ]
            }
        ]
    },
    

See Also