Add `process.paging.faults` metric to semantic conventions (#2827)
This commit is contained in:
parent
34093ed204
commit
a2e925d05f
|
|
@ -32,7 +32,7 @@ metrics](runtime-environment-metrics.md).
|
||||||
Below is a table of Process metric instruments.
|
Below is a table of Process metric instruments.
|
||||||
|
|
||||||
| Name | Instrument Type ([\*](README.md#instrument-types)) | Unit | Description | Labels |
|
| Name | Instrument Type ([\*](README.md#instrument-types)) | Unit | Description | Labels |
|
||||||
| -------------------------------------- | -------------------------------------------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|---------------------------------|----------------------------------------------------|-----------|-------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `process.cpu.time` | Counter | s | Total CPU seconds broken down by different states. | `state`, if specified, SHOULD be one of: `system`, `user`, `wait`. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. |
|
| `process.cpu.time` | Counter | s | Total CPU seconds broken down by different states. | `state`, if specified, SHOULD be one of: `system`, `user`, `wait`. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. |
|
||||||
| `process.cpu.utilization` | Gauge | 1 | Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process. | `state`, if specified, SHOULD be one of: `system`, `user`, `wait`. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. |
|
| `process.cpu.utilization` | Gauge | 1 | Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process. | `state`, if specified, SHOULD be one of: `system`, `user`, `wait`. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. |
|
||||||
| `process.memory.usage` | UpDownCounter | By | The amount of physical memory in use. | |
|
| `process.memory.usage` | UpDownCounter | By | The amount of physical memory in use. | |
|
||||||
|
|
@ -42,6 +42,7 @@ Below is a table of Process metric instruments.
|
||||||
| `process.threads` | UpDownCounter | {threads} | Process threads count. | |
|
| `process.threads` | UpDownCounter | {threads} | Process threads count. | |
|
||||||
| `process.open_file_descriptors` | UpDownCounter | {count} | Number of file descriptors in use by the process. | |
|
| `process.open_file_descriptors` | UpDownCounter | {count} | Number of file descriptors in use by the process. | |
|
||||||
| `process.context_switches` | Counter | {count} | Number of times the process has been context switched. | `type` SHOULD be one of: `involuntary`, `voluntary` |
|
| `process.context_switches` | Counter | {count} | Number of times the process has been context switched. | `type` SHOULD be one of: `involuntary`, `voluntary` |
|
||||||
|
| `process.paging.faults` | Counter | {faults} | Number of page faults the process has made. | `type`, if specified, SHOULD be one of: `major` (for major, or hard, page faults), `minor` (for minor, or soft, page faults). |
|
||||||
|
|
||||||
## Attributes
|
## Attributes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue