Giter VIP home page Giter VIP logo

Comments (5)

jalalmostafa avatar jalalmostafa commented on June 16, 2024

Have you specified MetricsCSVPath in the workload definition file? This is the name of the CSV file where the performance metrics are stored.

from scits.

kevinsheng93 avatar kevinsheng93 commented on June 16, 2024

yes, i used the default configuration, which is "Metrics.csv".

from scits.

jalalmostafa avatar jalalmostafa commented on June 16, 2024

The exception is thrown here

throw new Exception(String.Format("Null or empty app settings val for key={0}", ConfigurationKeys.MetricsCSVPath));

Either the argument name is mistyped or the valid is null or empty.
Did you rename the file to App.config (case-sensitive)?

Otherwise, I need a way to reproduce the error. e.g. what system are you using? dotnet SDK version? and the steps you follow to reproduce the bug.

from scits.

kevinsheng93 avatar kevinsheng93 commented on June 16, 2024

Yes, the error is caused by the file App.config. I forgot to rename it.
However, there comes another error.
2022-08-08 11:02:57.756 +08:00 [ERR] Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot convert null to 'int' because it is a non-nullable value type
at RestSharp.RestClientExtensions.ThrowIfError(IRestResponse response)
at RestSharp.RestClientExtensions.GetAsync[T](IRestClient client, IRestRequest request, CancellationToken cancellationToken)
at BenchmarkTool.System.GlancesMonitor.GetAllAsync(Int32 pid, String nic, String disk) in C:\Users\xxx\PycharmProjects\SciTS\BenchmarkTool\System\GlancesMonitor.cs:line 69
at BenchmarkTool.System.GlancesStarter.Monitor() in C:\Users\xxx\PycharmProjects\SciTS\BenchmarkTool\System\GlancesStarter.cs:line 50.
Could you give me some advice? thank you

from scits.

jalalmostafa avatar jalalmostafa commented on June 16, 2024

This is a bug, Please enter valid values in Glances*** options.

<add key="GlancesDatabasePid" value="1" />
<add key="GlancesPeriod" value="1" />
<add key="GlancesOutput" value="Glances.csv"/>
<add key="GlancesNIC" value="enp9s0" />
<add key="GlancesDisk" value="sda1" />

from scits.

Related Issues (1)

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.