-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collect perf counters using Oshi #1482
Conversation
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/applicationinsights/internal/perfcounter/OshiPerformanceCounter.java
Outdated
Show resolved
Hide resolved
…ch might end up negative values
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 can you attach SNAPSHOT agent to this PR, so we have a copy with side-by-side reporting for future comparison if needed, and then go ahead and remove old counter, and the underlying native code in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@heyams a couple of things
- "\Processor(_Total)\% Processor Time" doesn't match between the new and old way for me
- Let's capture IO and Processor Total at startup, so that the first reporting of data can report the diff already
- I'm getting this during startup:
2021-02-16 11:26:45.277-08 ERROR o.s.o.windows.WindowsOperatingSystem - AdjustTokenPrivileges failed. Error: 1300
202de0a
to
72739cf
Compare
will convert the rest on a separate PR.