diff --git a/collector/process.go b/collector/process.go index a2a8d62d..2c5b6345 100644 --- a/collector/process.go +++ b/collector/process.go @@ -144,7 +144,7 @@ func newProcessCollector() (Collector, error) { nil, ), WorkingSet: prometheus.NewDesc( - prometheus.BuildFQName(Namespace, subsystem, "working_set"), + prometheus.BuildFQName(Namespace, subsystem, "working_set_bytes"), "Maximum number of bytes in the working set of this process at any point in time. The working set is the set of memory pages touched recently by the threads in the process.", []string{"process", "process_id", "creating_process_id"}, nil, diff --git a/docs/collector.process.md b/docs/collector.process.md index 150cbc77..9a98b7d2 100644 --- a/docs/collector.process.md +++ b/docs/collector.process.md @@ -55,7 +55,7 @@ Name | Description | Type | Labels `windows_process_virtual_bytes` | Current size, in bytes, of the virtual address space that the process is using. Use of virtual address space does not necessarily imply corresponding use of either disk or main memory pages. Virtual space is finite and, by using too much, the process can limit its ability to load libraries. | gauge | `process`, `process_id`, `creating_process_id` `windows_process_working_set_private_bytes` | Size of the working set, in bytes, that is use for this process only and not shared nor sharable by other processes. | gauge | `process`, `process_id`, `creating_process_id` `windows_process_working_set_peak_bytes` | Maximum size, in bytes, of the Working Set of this process at any point in time. The Working Set is the set of memory pages touched recently by the threads in the process. If free memory in the computer is above a threshold, pages are left in the Working Set of a process even if they are not in use. When free memory falls below a threshold, pages are trimmed from Working Sets. If they are needed they will then be soft-faulted back into the Working Set before they leave main memory. | gauge | `process`, `process_id`, `creating_process_id` -`windows_process_working_set` | Maximum number of bytes in the working set of this process at any point in time. The working set is the set of memory pages touched recently by the threads in the process. If free memory in the computer is above a threshold, pages are left in the working set of a process even if they are not in use. When free memory falls below a threshold, pages are trimmed from working sets. If they are needed, they are then soft-faulted back into the working set before they leave main memory. | gauge | `process`, `process_id`, `creating_process_id` +`windows_process_working_set_bytes` | Maximum number of bytes in the working set of this process at any point in time. The working set is the set of memory pages touched recently by the threads in the process. If free memory in the computer is above a threshold, pages are left in the working set of a process even if they are not in use. When free memory falls below a threshold, pages are trimmed from working sets. If they are needed, they are then soft-faulted back into the working set before they leave main memory. | gauge | `process`, `process_id`, `creating_process_id` ### Example metric _This collector does not yet have explained examples, we would appreciate your help adding them!_