alexanderzobnin / grafana-simracing-telemetry

Apache License 2.0
60 stars 8 forks source link

Can't see any data when Grafana is running as a Windows service #5

Open alexanderzobnin opened 2 years ago

alexanderzobnin commented 2 years ago

There's an issue with accessing memory-mapped files when the program is running as a Windows service. In this mode Windows runs services in Session 0, but runs applications in other sessions. So when Grafana and game are run in different Sessions, then plugin cannot get access to the memory-mapped files created by the game.

Read more about Impact of Session 0 Isolation on Services and Drivers in Windows.

alexanderzobnin commented 2 years ago

The workaround is run grafana from a standalone binary.