{"id":15404619,"url":"https://github.com/k1low/grouped_process_exporter","last_synced_at":"2025-07-30T04:04:26.035Z","repository":{"id":36118171,"uuid":"204875690","full_name":"k1LoW/grouped_process_exporter","owner":"k1LoW","description":"Exporter for grouped process","archived":false,"fork":false,"pushed_at":"2023-02-15T04:23:39.000Z","size":798,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T05:41:39.900Z","etag":null,"topics":["cgroup","metrics","process-group","procfs","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k1LoW.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-08-28T07:39:39.000Z","updated_at":"2025-02-07T22:00:10.000Z","dependencies_parsed_at":"2024-01-15T06:14:38.329Z","dependency_job_id":null,"html_url":"https://github.com/k1LoW/grouped_process_exporter","commit_stats":{"total_commits":115,"total_committers":3,"mean_commits":"38.333333333333336","dds":0.02608695652173909,"last_synced_commit":"cab395a6e495989e551f643257734d6b989a403e"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Fgrouped_process_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Fgrouped_process_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Fgrouped_process_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Fgrouped_process_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k1LoW","download_url":"https://codeload.github.com/k1LoW/grouped_process_exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249282492,"owners_count":21243548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cgroup","metrics","process-group","procfs","prometheus","prometheus-exporter"],"created_at":"2024-10-01T16:13:52.275Z","updated_at":"2025-04-16T22:25:26.489Z","avatar_url":"https://github.com/k1LoW.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Exporter for grouped process [![Build Status](https://github.com/k1LoW/grouped_process_exporter/workflows/build/badge.svg)](https://github.com/k1LoW/grouped_process_exporter/actions) [![GitHub release](https://img.shields.io/github/release/k1LoW/grouped_process_exporter.svg)](https://github.com/k1LoW/grouped_process_exporter/releases)\n\n## Supported grouping\n\n- control group v1 ( `cgroup`, default )\n- /proc/[PID]/status.Name: ( `proc_status_name` / `name` )\n\n### Default port\n\n- [`9644`](https://github.com/prometheus/prometheus/wiki/Default-port-allocations)\n\n### :unlock: Advanced grouping\n\n#### `--group.normalize`\n\nNormalize exported group names using the regexp `--group.normalize` option.\n\nFor example, by setting `--group.normalize='^.+(tcpdp).+$'`, the exporter normalizes the group names `/path/to/tcpdp-eth0` and `/path/to/tcpdp-eth1` to `tcpdp`.\n\n#### `--group.exclude`\n\nExclude exported groups using the regexp `--group.exclude` option.\n\nFor example, by setting `--group.exclude='user.\\slice'`, the exporter excludes the group names `/user.slice` , `/user.slice/user-10503.slice`.\n\n\u003e Note: the exporter excludes group before group name normalization.\n\n## Available Metrics\n\n### Amount of grouped procs ( default on )\n\n| Name | Type | Description |\n| --- | --- | --- |\n| grouped_process_num_procs | Gauge | Number of processes in the group |\n| grouped_process_num_grouped | Gauge | Number of grouped |\n\n### Grouped /proc/[PID]/stat ( `--collector.stat` )\n\n| Name | Type | Description |\n| --- | --- | --- |\n| grouped_process_stat_minflt_total | Counter | Total number of grouped /proc/[PID]/stat.minflt |\n| grouped_process_stat_cminflt_total | Counter | Total number of grouped /proc/[PID]/stat.rchar |\n| grouped_process_stat_majflt_total | Counter | Total number of grouped /proc/[PID]/stat.majflt |\n| grouped_process_stat_cmajflt_total | Counter | Total number of grouped /proc/[PID]/stat.cmajflt |\n| grouped_process_stat_utime_total | Counter | Total number of grouped /proc/[PID]/stat.utime |\n| grouped_process_stat_stime_total | Counter | Total number of grouped /proc/[PID]/stat.stime |\n| grouped_process_stat_cutime_total | Counter | Total number of grouped /proc/[PID]/stat.cutime |\n| grouped_process_stat_cstime_total | Counter | Total number of grouped /proc/[PID]/stat.cstime |\n| grouped_process_stat_numthreads | Gauge | Grouped /proc/[PID]/stat.numthreads |\n| grouped_process_stat_vsize_bytes | Gauge | Grouped /proc/[PID]/stat.vsize |\n| grouped_process_stat_rss | Gauge | Grouped /proc/[PID]/stat.rss |\n| grouped_process_stat_clk_tck | Gauge | clock ticks (divide by sysconf(_SC_CLK_TCK)) |\n\n### Grouped /proc/[PID]/io ( `--collector.io` )\n\n| Name | Type | Description |\n| --- | --- | --- |\n| grouped_process_io_r_char_total | Counter | Total number of grouped /proc/[PID]/io.rchar |\n| grouped_process_io_w_char_total | Counter | Total number of grouped /proc/[PID]/io.wchar |\n| grouped_process_io_sysc_r_total | Counter | Total number of grouped /proc/[PID]/io.syscr |\n| grouped_process_io_sysc_w_total | Counter | Total number of grouped /proc/[PID]/io.syscw |\n| grouped_process_io_read_bytes_total | Counter | Total number of grouped /proc/[PID]/io.read_bytes |\n| grouped_process_io_write_bytes_total | Counter | Total number of grouped /proc/[PID]/io.write_bytes |\n| grouped_process_io_cancelled_write_bytes_total | Counter | Total number of grouped /proc/[PID]/io.cancelled_write_bytes |\n\n### Grouped /proc/[PID]/status ( `--collector.status` )\n\n| Name | Type | Description |\n| --- | --- | --- |\n| grouped_process_status_VmPeak_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmPeak. Peak virtual memory size |\n| grouped_process_status_VmSize_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmSize. Virtual memory size |\n| grouped_process_status_VmLck_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmLck. Locked memory size |\n| grouped_process_status_VmPin_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmPin. Pinned memory size |\n| grouped_process_status_VmHWM_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmHWM. Peak resident set size |\n| grouped_process_status_VmRSS_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmRSS. Resident set size (sum of RssAnnon RssFile and RssShmem) |\n| grouped_process_status_RssAnon_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.RssAnon. Size of resident anonymous memory |\n| grouped_process_status_RssFile_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.RssFile. Size of resident file mappings |\n| grouped_process_status_RssShmem_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.RssShmem. Size of resident shared memory |\n| grouped_process_status_VmData_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmData. Size of data segments |\n| grouped_process_status_VmStk_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmStk. Size of stack segments |\n| grouped_process_status_VmExe_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmExe. Size of text segments |\n| grouped_process_status_VmLib_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmLib. Shared library code size |\n| grouped_process_status_VmPTE_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmPTE. Page table entries size |\n| grouped_process_status_VmPMD_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmPMD. Size of second-level page tables |\n| grouped_process_status_VmSwap_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.VmSwap. Swapped-out virtual memory size by anonymous private |\n| grouped_process_status_HugetlbPages_bytes_total | Gauge | Total size of grouped /proc/[PID]/status.HugetlbPages. Size of hugetlb memory portions |\n| grouped_process_status_VoluntaryCtxtSwitches_total | Counter| Total number of grouped /proc/[PID]/status.VoluntaryCtxtSwitches. Number of voluntary context switches |\n| grouped_process_status_NonVoluntaryCtxtSwitches_total | Counter| Total number of grouped /proc/[PID]/status.NonVoluntaryCtxtSwitches. Number of involuntary context switches |\n\n\n## Alternatives\n\n- [process-exporter](https://github.com/ncabatoff/process-exporter): Prometheus exporter that mines /proc to report on selected processes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1low%2Fgrouped_process_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk1low%2Fgrouped_process_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1low%2Fgrouped_process_exporter/lists"}