-
Notifications
You must be signed in to change notification settings - Fork 293
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
[Instrumentation.Process] Added Cpu related metrics and addressed comments. #612
Closed
Closed
Changes from 32 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
1a4d561
initial
Yun-Ting 654601a
AssemblyInfo
Yun-Ting 512dd21
Merge branch 'main' into yunl/pInst2
Yun-Ting 23a6d35
nit
Yun-Ting dedd949
nit
Yun-Ting aa9a818
CI
Yun-Ting 8a3e283
merge main
Yun-Ting 6a95d5b
initial
Yun-Ting 58f9dac
update
Yun-Ting 0b111bb
Merge branch 'main' into yunl/pInst2
Yun-Ting a1279b2
adding a new metric
Yun-Ting db31dac
convention
Yun-Ting 6bdd043
Merge branch 'yunl/pInst2' of https://github.com/Yun-Ting/opentelemet…
Yun-Ting 05d4478
semantics
Yun-Ting f1d267f
comments
Yun-Ting 12e12ba
Merge branch 'main' into yunl/pInst2
Yun-Ting 6f9d879
comment
Yun-Ting 07450d5
comment
Yun-Ting 1a63dc7
merge main
Yun-Ting b19a2f6
cpuTime
Yun-Ting d18d8c0
Merge branch 'main' into yunl/pInst4
cijothomas 371dbe3
nit
Yun-Ting 3a6c115
refresh once
Yun-Ting dc81215
ctor
Yun-Ting 9c6d2b0
param
Yun-Ting 57f2183
comments
Yun-Ting ef37cce
update
Yun-Ting 550966c
sanity
Yun-Ting 879bb9d
Oops
Yun-Ting 35c6186
comment
Yun-Ting ce98e93
unused
Yun-Ting 8e38272
update
Yun-Ting 10b5773
removed state option
Yun-Ting 893fbac
api
Yun-Ting 553efa4
added cpuUtil
Yun-Ting a24055f
update
Yun-Ting 7e9198b
Merge branch 'main' into yunl/pInst4
Yun-Ting e498b06
update
Yun-Ting 5167722
Merge branch 'yunl/pInst4' of https://github.com/Yun-Ting/opentelemet…
Yun-Ting e3fd84a
fix refresh
Yun-Ting File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
src/OpenTelemetry.Instrumentation.Process/.publicApi/netstandard2.0/PublicAPI.Unshipped.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
OpenTelemetry.Instrumentation.Process.ProcessInstrumentationOptions | ||
OpenTelemetry.Instrumentation.Process.ProcessInstrumentationOptions.CpuStatesEnabled.get -> bool | ||
OpenTelemetry.Instrumentation.Process.ProcessInstrumentationOptions.CpuStatesEnabled.set -> void | ||
OpenTelemetry.Instrumentation.Process.ProcessInstrumentationOptions.ProcessInstrumentationOptions() -> void | ||
OpenTelemetry.Metrics.MeterProviderBuilderExtensions | ||
static OpenTelemetry.Metrics.MeterProviderBuilderExtensions.AddProcessInstrumentation(this OpenTelemetry.Metrics.MeterProviderBuilder builder, System.Action<OpenTelemetry.Instrumentation.Process.ProcessInstrumentationOptions> configure = null) -> OpenTelemetry.Metrics.MeterProviderBuilder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Do we want integer or double?
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.
Updated to use int.
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.
Why int?
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.
well, because the
.Seconds
from the Timespan struct returns int?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.
How is this related?
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.
Shouldn't it be
.TotalSeconds
?