Performance counters issues - appear in \dashboard\PerfData

Options
pkiddie
edited October 2011 in Photon Server
Hi guys,

I created some performance counters for both a client and server application by following the guide at http://doc.exitgames.com/v3/photonserve ... ustomizing. Unfortunately, I don't seem to be able to view the counters on the dashboard.

Looking in the folder deploy\bin_Tools\dashboard\PerfData on the machine running the dashboard/Photon server, I can see files which correspond to the instances of the new counters in the relevant name space (e.g. AppName.TestCounter.rrd), so I assume I've set my counters up right and enabled them and network traffic is passing through on the default port of 40001, but the app name fails to appear in the dashboard and if I manually try to navigate to app=AppName, I get a message stating "No Counter Data yet, this page will automatically reload …"

Are there any possible reasons for this? How can I be assured that my performance counters are working?

Thanks,
Paul

Comments

  • Hi Paul,

    if your data shows up in the /PerfData directory, you have already mastered the most difficult parts, and only one small step missing: you need to generate the graphs from the data files.

    Just add the new graph definition to the graphs.xml file, like this:
    <add sender="*" fileName="MyApplication\MessagesPerSecond" title="Messages sent / sec" timeSpan="00:10:00">
     <Items>
      <add fileName="MyApplication.MessagesPerSecond.rrd" dataSource="GAUGE" cf="AVERAGE" type="Area" color="Blue"/>
     </Items>
    </add>
    

    Please see the topic "Extending the Photon Dashboard - Graph renderer" at http://doc.exitgames.com/v3/photonserve ... ustomizing for more information.

    Hope this helps!
    - Nicole
  • That did the trick - thanks Nicole.

    P