Skip to content

Commit

Permalink
change unit to {file_descriptor}
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Feb 4, 2025
1 parent 1419b80 commit cc12ea5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/system/process-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ This metric is [recommended][MetricRecommended].

| Name | Instrument Type | Unit (UCUM) | Description | Stability |
| -------- | --------------- | ----------- | -------------- | --------- |
| `process.open_file_descriptor.count` | UpDownCounter | `{open_file_descriptor}` | Number of file descriptors in use by the process. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `process.open_file_descriptor.count` | UpDownCounter | `{file_descriptor}` | Number of file descriptors in use by the process. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
Expand Down
2 changes: 1 addition & 1 deletion model/process/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ groups:
stability: experimental
brief: "Number of file descriptors in use by the process."
instrument: updowncounter
unit: "{open_file_descriptor}"
unit: "{file_descriptor}"

- id: metric.process.context_switches
type: metric
Expand Down

0 comments on commit cc12ea5

Please sign in to comment.