[Self hosted] Dashboard no data
Options
luxel
✭
On our self hosted server, we have setup our master server as the dashboard server and receiving counter data from game servers. The counter publisher on game servers (as well as the master server itself) has been publishing data to the dashboard service without exception. But one problem we're facing is, on the dashboard webpage, we're unable to see any graph.
What setup I might be missing? (from the log we can see that the dashboard service is receiving and processing data from other machines)
And recent days we're starting to face another issue as shown in the log below:
2015-01-21 13:27:46,343 [3] ERROR Photon.Dashboard.PhontonDashboardService [(null)] - System.IO.IOException: 文件存在。(this means File already exists)
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.__Error.WinIOError()
在 System.IO.Path.GetTempFileName()
在 Photon.Dashboard.Graphing.PhotonCounterController.GetDashboardImage(String path, NameValueCollection queryString, Byte[]& resultData) 位置 h:\svncontent\photon-socketserver-sdk_3.4\src\Photon.Dashboard\Graphing\PhotonCounterController.cs:行号 237
在 Photon.Dashboard.Graphing.PhotonCounterController.TryGetImage(String path, NameValueCollection queryString, Byte[]& data, String& msg) 位置 h:\svncontent\photon-socketserver-sdk_3.4\src\Photon.Dashboard\Graphing\PhotonCounterController.cs:行号 60
在 Photon.Dashboard.PhontonDashboardService.ProcessImageRequest(String localPath, HttpListenerContext context) 位置 h:\svncontent\photon-socketserver-sdk_3.4\src\Photon.Dashboard\PhontonDashboardService.cs:行号 369
在 Photon.Dashboard.PhontonDashboardService.HttpListenerCallBack(IAsyncResult result) 位置 h:\svncontent\photon-socketserver-sdk_3.4\src\Photon.Dashboard\PhontonDashboardService.cs:行号 233
P.S. is there any where we can download dashboard source code for our own customization? We really want a feature that the dashboard can shown the peak CCU for each day, and all performance data at the peak CCU time point.
What setup I might be missing? (from the log we can see that the dashboard service is receiving and processing data from other machines)
And recent days we're starting to face another issue as shown in the log below:
2015-01-21 13:27:46,343 [3] ERROR Photon.Dashboard.PhontonDashboardService [(null)] - System.IO.IOException: 文件存在。(this means File already exists)
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.__Error.WinIOError()
在 System.IO.Path.GetTempFileName()
在 Photon.Dashboard.Graphing.PhotonCounterController.GetDashboardImage(String path, NameValueCollection queryString, Byte[]& resultData) 位置 h:\svncontent\photon-socketserver-sdk_3.4\src\Photon.Dashboard\Graphing\PhotonCounterController.cs:行号 237
在 Photon.Dashboard.Graphing.PhotonCounterController.TryGetImage(String path, NameValueCollection queryString, Byte[]& data, String& msg) 位置 h:\svncontent\photon-socketserver-sdk_3.4\src\Photon.Dashboard\Graphing\PhotonCounterController.cs:行号 60
在 Photon.Dashboard.PhontonDashboardService.ProcessImageRequest(String localPath, HttpListenerContext context) 位置 h:\svncontent\photon-socketserver-sdk_3.4\src\Photon.Dashboard\PhontonDashboardService.cs:行号 369
在 Photon.Dashboard.PhontonDashboardService.HttpListenerCallBack(IAsyncResult result) 位置 h:\svncontent\photon-socketserver-sdk_3.4\src\Photon.Dashboard\PhontonDashboardService.cs:行号 233
P.S. is there any where we can download dashboard source code for our own customization? We really want a feature that the dashboard can shown the peak CCU for each day, and all performance data at the peak CCU time point.
0
Comments
-
Are you using the latest Photon SocketServer SDK?
https://www.exitgames.com/Download/Phot ... 8-8401.exe
We have made some fixes for the Dashboard & image generation in that version which should fix your issue.
Unfortunately, we can not provide the whole source code, but you might want to check out this thread: viewtopic.php?f=5&t=5233&p=19935&hilit=graphite#p19935
I have posted the deserialization code there, for a customer who wanted to build a replacement for the dashboard service to report data to an external system. Does that help?
That being said - we are not very happy with the current Dashboard service ourselves and plan to make major improvements or replace it completely in a future version of the Photon Server SDK.0 -
How about now, I have the same problem0
-
To Driftboat:
I gave up using the dashboard, instead, I just uses Performance Monitor with Photon logging counters.0