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.
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.
This also worked for me, thanks @Mag_42. I run the server in the docker container, and the documentation that ships with the server tells you to add the mentioned reference which produces an error.
If jumping into the running container with e.g. docker exec -it horde-horde-server-1 bash you’ll be in the /app directory. That is where the Default directory lives which contains these files (version 5.7.0-46863086):