Metrics show no data
Symptoms
- Metrics charts show "No data" for all add-ins.
- Only some add-ins have metrics data.
- Metrics data stops appearing after an update.
Solutions
Wait for data collection
Metrics are collected periodically by the Core daemon. After a fresh install or a database reset, it can take one or more polling intervals for the first data points to appear. The default interval is 5 minutes (or whatever the PollingInterval policy sets).
Verify the Core daemon is running
The daemon (Vediram.Deck.Core) must be running to collect metrics. Its tray icon is the quick check - if it's missing, the daemon isn't running.
Get-Process Vediram.Deck.Core -ErrorAction SilentlyContinue
Relaunch Deck from the Start menu (which starts the daemon), or start it directly:
# Per-user install:
& "$env:LOCALAPPDATA\Programs\Vediram\Deck\Vediram.Deck.Core.exe"
# Per-machine install:
& "$env:ProgramFiles\Vediram\Deck\Vediram.Deck.Core.exe"
Check that Office is running
Metrics are only generated while Office applications are open and add-ins are loaded. With no Office apps running, no new data points are produced.
Check the daemon log
Select-String -Path "$env:LOCALAPPDATA\Vediram\Deck\core.log" -Pattern "metrics"
Clear and rebuild
If metrics data is corrupt, reset the database and let Deck rebuild it:
# Stop Deck first, then:
Remove-Item "$env:LOCALAPPDATA\Vediram\Deck\deck.db"
Restart Deck. Note this also clears profiles and crash history.