Horde Setup Issue

Hi,

We are trying to setup Horde and UGS and we are facing some issues :

For the remote compilation on an agent, it does not always work and we have that issue in the horde log :

Unhandled exception while running conform: Missing ‘View’ tag when parsing ‘ClientRecord’

Also we can’t manage to setup the analytics, they seem to be sent from the editor but nothing appears in Horde

When we added the required lines in the globals.json file, we had that error :

Could not find file ‘C:\Program Files\Epic Games\Horde\Server\Defaults\default-analytics.dashboard.json’.

So we created it with that content but we are not sure about it and we did not find any info on that :

{
  "version": 1,
  "widgets": [
    {
      "type": "metric",
      "name": "Sample Metric",
      "metricId": "engine.sampleMetric",
      "aggregation": "average"
    },
    {
      "type": "metric",
      "name": "Total Errors",
      "metricId": "engine.totalErrors",
      "aggregation": "sum"
    }
  ]
}

Thank you

You may have figured this out now but to anyone else… the docs right now are out of date it seems.

It asks you to insert a metrics and dashboard json into the globals but it seems like the default analytics dashboard is just there out of the box in Horde now without needing a specific dashboard json file so that file is not included in horde. Instead there’s a new telemetry views file in the folder.

So on this page: Horde Analytics Tutorial for Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community

On Step 3 it says to do put this into globals.json:

// Define the 'Engine' telemetry store and create some standard metrics within it.
     "telemetryStores": [
         {
             "id": "engine",
             "include": [
                 {
                     "path": "$(HordeDir)/Defaults/default-metrics.telemetry.json"
                 }
             ]
         }
     ],
 
     // Configure a default dashboard to render them
     "dashboard": {
         "include": [
             {
                 "path": "$(HordeDir)/Defaults/default-analytics.dashboard.json"
             }
         ]
     },

But there is no dashboard.json file that comes with horde anymore so you’ll get an error and indeed there already seems to be a default dashboard anyway.

But there is a Telemetry views json and looking through the schema it seemed like it just needs to be added with the metrics one like this:

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

And that got the dashboard up and running for me - now i get the editor analytics coming in.

1 Like