{"id":13587182,"url":"https://github.com/cloudflare/psi_exporter","last_synced_at":"2025-10-20T04:30:36.353Z","repository":{"id":35189060,"uuid":"215164301","full_name":"cloudflare/psi_exporter","owner":"cloudflare","description":"Prometheus exporter for Pressure Stall Information (PSI) from Linux kernel.","archived":false,"fork":false,"pushed_at":"2024-03-09T18:17:44.000Z","size":36,"stargazers_count":47,"open_issues_count":3,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-14T22:17:13.701Z","etag":null,"topics":["cgroups","cgroups-v2","linux-kernel","performance","prometheus-exporter","psi"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/cloudflare.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-14T23:36:49.000Z","updated_at":"2024-08-01T16:33:13.219Z","dependencies_parsed_at":"2024-08-01T16:43:14.860Z","dependency_job_id":null,"html_url":"https://github.com/cloudflare/psi_exporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fpsi_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fpsi_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fpsi_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fpsi_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudflare","download_url":"https://codeload.github.com/cloudflare/psi_exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869309,"owners_count":16555579,"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":["cgroups","cgroups-v2","linux-kernel","performance","prometheus-exporter","psi"],"created_at":"2024-08-01T15:06:04.637Z","updated_at":"2025-10-20T04:30:36.032Z","avatar_url":"https://github.com/cloudflare.png","language":"Rust","funding_links":[],"categories":["Rust","Infrastructure \u0026 Operations"],"sub_categories":["Monitoring \u0026 Observability"],"readme":"# psi_exporter\n\nPrometheus exporter for [Pressure Stall Information] (PSI) from Linux kernel.\n\n## Requirements\n\nKernel must support PSI (`CONFIG_PSI=y`), which requires at least Linux 4.20.\n\n## Exported metric\n\nThe following metrics are exported:\n\n```\n$ curl -s http://ip6-localhost:12345/ | grep -E '(journald|^#)'\n# HELP pressure_avg_10s_ratio Ratio of time spent under pressure in the last 10s at time of measurement\n# TYPE pressure_avg_10s_ratio gauge\npressure_avg_10s_ratio{controller=\"cpu\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0\npressure_avg_10s_ratio{controller=\"io\",id=\"/system.slice/systemd-journald.service\",kind=\"full\"} 0\npressure_avg_10s_ratio{controller=\"io\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0\npressure_avg_10s_ratio{controller=\"memory\",id=\"/system.slice/systemd-journald.service\",kind=\"full\"} 0\npressure_avg_10s_ratio{controller=\"memory\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0\n# HELP pressure_avg_300s_ratio Ratio of time spent under pressure in the last 300s at time of measurement\n# TYPE pressure_avg_300s_ratio gauge\npressure_avg_300s_ratio{controller=\"cpu\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0\npressure_avg_300s_ratio{controller=\"io\",id=\"/system.slice/systemd-journald.service\",kind=\"full\"} 0\npressure_avg_300s_ratio{controller=\"io\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0\npressure_avg_300s_ratio{controller=\"memory\",id=\"/system.slice/systemd-journald.service\",kind=\"full\"} 0\npressure_avg_300s_ratio{controller=\"memory\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0\n# HELP pressure_avg_60s_ratio Ratio of time spent under pressure in the last 60s at time of measurement\n# TYPE pressure_avg_60s_ratio gauge\npressure_avg_60s_ratio{controller=\"cpu\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0\npressure_avg_60s_ratio{controller=\"io\",id=\"/system.slice/systemd-journald.service\",kind=\"full\"} 0\npressure_avg_60s_ratio{controller=\"io\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0\npressure_avg_60s_ratio{controller=\"memory\",id=\"/system.slice/systemd-journald.service\",kind=\"full\"} 0\npressure_avg_60s_ratio{controller=\"memory\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0\n# HELP pressure_total_seconds Total time spent under pressure\n# TYPE pressure_total_seconds counter\npressure_total_seconds{controller=\"cpu\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0.001546\npressure_total_seconds{controller=\"io\",id=\"/system.slice/systemd-journald.service\",kind=\"full\"} 1.367656\npressure_total_seconds{controller=\"io\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 1.371462\npressure_total_seconds{controller=\"memory\",id=\"/system.slice/systemd-journald.service\",kind=\"full\"} 0\npressure_total_seconds{controller=\"memory\",id=\"/system.slice/systemd-journald.service\",kind=\"some\"} 0\n```\n\n## Usage\n\n* `--metrics.disable-avg` disables reporting of averages.\n* `--metrics.silence-zeros` silences reporting of zero values.\n\n## License\n\nMIT\n\n[Pressure Stall Information]: https://www.kernel.org/doc/html/latest/accounting/psi.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fpsi_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudflare%2Fpsi_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fpsi_exporter/lists"}