Skip to content

Commit

Permalink
Return dotnet.process.cpu.time to experimental
Browse files Browse the repository at this point in the history
As it depends on the experimental `cpu.time`
  • Loading branch information
stevejgordon committed Nov 25, 2024
1 parent 2ca1aa2 commit 44681ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/runtime/dotnet-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ This metric is [recommended][MetricRecommended].

| Name | Instrument Type | Unit (UCUM) | Description | Stability |
| -------- | --------------- | ----------- | -------------- | --------- |
| `dotnet.process.cpu.time` | Counter | `s` | CPU time used by the process. [1] | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `dotnet.process.cpu.time` | Counter | `s` | CPU time used by the process. [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

**[1]:** Meter name: `System.Runtime`; Added in: .NET 9.0.
This metric reports the same values as accessing the corresponding processor time properties on [`System.Diagnostics.Process`](https://learn.microsoft.com/dotnet/api/system.diagnostics.process).
Expand Down
2 changes: 1 addition & 1 deletion model/dotnet/runtime-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ groups:
processor time properties on [`System.Diagnostics.Process`](https://learn.microsoft.com/dotnet/api/system.diagnostics.process).
instrument: counter
unit: "s"
stability: stable
stability: experimental
attributes:
- ref: cpu.mode
requirement_level: required
Expand Down

0 comments on commit 44681ae

Please sign in to comment.