2024-03-19 10:35:33 -04:00
|
|
|
[Horde](../../README.md) > Getting Started: Analytics
|
|
|
|
|
|
|
|
|
|
# Getting Started: Analytics
|
|
|
|
|
|
|
|
|
|
## Introduction
|
|
|
|
|
|
2024-03-20 20:04:01 -04:00
|
|
|
**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.
|
|
|
|
|
|
2024-03-21 09:41:16 -04:00
|
|
|

|
2024-03-20 20:04:01 -04:00
|
|
|
|
2024-03-19 10:35:33 -04:00
|
|
|
## Prerequisites
|
|
|
|
|
|
2024-03-20 20:04:01 -04:00
|
|
|
* Horde Server installation (see [Getting Started: Install Horde](InstallHorde.md)).
|
|
|
|
|
* An Unreal Engine project targetting Unreal Engine 5.4 or later.
|
2024-03-19 10:35:33 -04:00
|
|
|
|
|
|
|
|
## Steps
|
2024-03-20 20:04:01 -04:00
|
|
|
|
|
|
|
|
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:
|
|
|
|
|
|
|
|
|
|
```ini
|
|
|
|
|
[StudioTelemetry.Provider.HordeAnalytics]
|
|
|
|
|
Name=HordeAnalytics
|
|
|
|
|
ProviderModule=AnalyticsET
|
|
|
|
|
UsageType=EditorAndClient
|
|
|
|
|
APIKeyET=HordeAnalytics.Dev
|
|
|
|
|
APIServerET="http://localhost:13340/" # Set your Horde Server URL here
|
|
|
|
|
APIEndpointET="api/v1/telemetry"
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
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 defined in a file included
|
|
|
|
|
with the Horde installation, which can be added by adding the following snippet to your
|
|
|
|
|
[globals.json](../Config/Orientation.md) file:
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
|
"telemetryStores": [
|
|
|
|
|
{
|
|
|
|
|
"id": "default",
|
|
|
|
|
"include": [
|
|
|
|
|
{
|
|
|
|
|
"path": "$(HordeDir)/Defaults/default-metrics.telemetry.json"
|
2024-03-23 13:21:48 -04:00
|
|
|
}
|
2024-03-20 20:04:01 -04:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
4. Configure the analytics dashboard to render your metrics. A default dashboard is included in the Horde installation, and
|
|
|
|
|
can be included by adding the following snippet to your [globals.json](../Config/Orientation.md) file:
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
|
"dashboard": {
|
|
|
|
|
"include": [
|
|
|
|
|
{
|
|
|
|
|
"path": "$(HordeDir)/Defaults/default-analytics.dashboard.json"
|
|
|
|
|
}
|
|
|
|
|
]
|
2024-03-23 13:21:48 -04:00
|
|
|
}
|
2024-03-20 20:04:01 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## See Also
|
|
|
|
|
|
|
|
|
|
* [Configuration > Analytics](../Config/Analytics.md)
|