Coder Social home page Coder Social logo

Comments (13)

peschuster avatar peschuster commented on July 29, 2024

I will have a look at it, but the usage of long should not be a problem.
In the meantime you could switch to the "Available MBytes" performance counter.

Peter

from graphite-client.

playerjamesbattleground avatar playerjamesbattleground commented on July 29, 2024

Thanks Peter, yes I am currently using 'KBytes" and do a further scale at graphite side, works fine. Still be perfect if the integer max issue could be settled.

James

from graphite-client.

playerjamesbattleground avatar playerjamesbattleground commented on July 29, 2024

Hi Peter,

How did you go with this issue? I do perfer if you could make an update, or direct me to where this type being set in Grahpite-client.

Thanks

James

from graphite-client.

peschuster avatar peschuster commented on July 29, 2024

I pushed the change to https://github.com/peschuster/graphite-client/tree/int64 but did not have time to test it with large values yet.

from graphite-client.

playerjamesbattleground avatar playerjamesbattleground commented on July 29, 2024

Wonderful Peter, just in time! I will test it out today and try big values, will reply back.

from graphite-client.

playerjamesbattleground avatar playerjamesbattleground commented on July 29, 2024

Hi Peter,

Happy new year, so far the int64 version works pretty well.

Somehow on this computer I don't have a visual studio env, so if possible, could you please put a compiled release regarding to the int64 version? that will solve all my problems here, thanks very much.

Regards

James

from graphite-client.

peschuster avatar peschuster commented on July 29, 2024

Hi James,

MSBuild is part of the .NET Framework installation. Therefore Visual Studio is not required to build the project. Just execute the go.bat script in /build. This compiles everything into /bin.

Peter

from graphite-client.

playerjamesbattleground avatar playerjamesbattleground commented on July 29, 2024

Hi Peter,

if I just run the go.bat, I did got error said can't find visualstudio installation the other day. I will try to reproduce it again.
On the laptop that doesn't have visual studio installed, I have .Net v4.0 installed and after executing go.bat, I did have error when trying to run the compiled PerformanceCounter.exe. (I will see if I can find it again and paste here)

from graphite-client.

peschuster avatar peschuster commented on July 29, 2024

Sorry, you're right. I just tested it on a build server with no VS installed. I forgot about the mvc test project which requires an installed VS on the system.

4a0fe08 fixes this.

from graphite-client.

playerjamesbattleground avatar playerjamesbattleground commented on July 29, 2024

Thanks Peter, I will try apply the changes you made to the 'int64' branch and see.

from graphite-client.

playerjamesbattleground avatar playerjamesbattleground commented on July 29, 2024

The build was successful after applied the changes in 4a0fe08. to the int64 branch.
But when I just run the PerfCounterMonitor.exe in console, got below error:

Unhandled Exception: System.ComponentModel.Win32Exception: The system cannot fin
d the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startIn
fo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Graphite.System.AppPoolListener.Execute(String arguments, String& result,
Int32 maxMilliseconds) in c:\dev\Deploy\graphite-client-int64\source\Graphite.Sy
stem\AppPoolListener.cs:line 140
at Graphite.System.AppPoolListener.GetCounterName(String appPool) in c:\dev\D
eploy\graphite-client-int64\source\Graphite.System\AppPoolListener.cs:line 84
at Graphite.System.AppPoolListener.LoadCounterName() in c:\dev\Deploy\graphit
e-client-int64\source\Graphite.System\AppPoolListener.cs:line 28
at Graphite.System.Kernel.CreateReportingAction(AppPoolElement config, AppPoo
lListener& listener) in c:\dev\Deploy\graphite-client-int64\source\Graphite.Syst
em\Kernel.cs:line 146
at Graphite.System.Kernel..ctor(GraphiteConfiguration configuration, Graphite
SystemConfiguration systemConfiguration) in c:\dev\Deploy\graphite-client-int64
source\Graphite.System\Kernel.cs:line 68
at Graphite.System.Program.Main(String[] parameter) in c:\dev\Deploy\graphite
-client-int64\source\Graphite.System\Program.cs:line 45

from graphite-client.

peschuster avatar peschuster commented on July 29, 2024

C:\Windows\system32\inetsrv\appcmd.exe is not present on your system.

Is IIS installed?
Otherwise you can't use the appPool monitoring features.

from graphite-client.

playerjamesbattleground avatar playerjamesbattleground commented on July 29, 2024

Yes Peter you are right. I didn't have IIS installed on that laptop.

Thanks for the effort down this chain, I am happy to close this issue, wonderful job!

Regards
James

from graphite-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.