{"id":15065973,"url":"https://github.com/leech001/process_metrics_exporter","last_synced_at":"2025-07-16T10:34:27.032Z","repository":{"id":36965527,"uuid":"502622819","full_name":"leech001/process_metrics_exporter","owner":"leech001","description":"Prometheus process metrics exporter","archived":false,"fork":false,"pushed_at":"2023-01-08T08:04:30.000Z","size":45,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-03T19:07:50.466Z","etag":null,"topics":["docker","docker-compose","go","golang","process","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":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leech001.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}},"created_at":"2022-06-12T13:25:11.000Z","updated_at":"2023-03-11T20:02:20.000Z","dependencies_parsed_at":"2023-01-17T09:03:43.553Z","dependency_job_id":null,"html_url":"https://github.com/leech001/process_metrics_exporter","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/leech001/process_metrics_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leech001%2Fprocess_metrics_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leech001%2Fprocess_metrics_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leech001%2Fprocess_metrics_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leech001%2Fprocess_metrics_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leech001","download_url":"https://codeload.github.com/leech001/process_metrics_exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leech001%2Fprocess_metrics_exporter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265503172,"owners_count":23778020,"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":["docker","docker-compose","go","golang","process","prometheus","prometheus-exporter"],"created_at":"2024-09-25T00:58:35.716Z","updated_at":"2025-07-16T10:34:26.978Z","avatar_url":"https://github.com/leech001.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus process metrics exporter\n![Made](https://img.shields.io/badge/Made%20with-Go-1f425f.svg)![GitHub release version](https://img.shields.io/github/v/release/leech001/process_metrics_exporter?logo=github)![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/leech001/process_metrics_exporter/go_build.yml?label=BUILD%20AND%20RELEASE\u0026logo=github) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/leech001/process_metrics_exporter/docker-image.yml?label=BUILD%20AND%20PUBLISH%20TO%20DOCKERHUB\u0026logo=github) [![GitHub](https://img.shields.io/badge/Git-Hub-purple.svg)](https://github.com/leech001/process_metrics_exporter) [![Docker](https://img.shields.io/badge/Docker-hub-2496ed.svg)](https://hub.docker.com/r/leech001/process-metrics-exporter) [![License: WTFPL](https://img.shields.io/badge/license-WTFPL-brightgreen)](https://github.com/leech001/process_metrics_exporter/blob/main/LICENSE)\n\n## GO (golang) application for counting the number of running processes and forming the corresponding metrics for Prometheus (Alpine Linux images)\n\nThe main task is to calculate the number of running processes for a given list of processes, use it to form Gauge metrics and display them on the page with metrics\n\nThe application is launched with a command in the 'app' folder\n\n```\ngo run main -update 5 -port 8080 test1 test2 test3\n```\n\nwhere:\n\n- \"main\" - application name;\n\n- \"-update 5\" - metrics refresh period on sec;\n\n- \"-port 8080\" - port where metrics are fed;\n\n- \"test1...3\" - names of processes.\n\n\n## Work with Docker (Alpine Linux images)\n\nDownload prepared image with application\n\n```\ndocker pull leech001/process-metrics-exporter\n```\n\nor start it at once\n\n```\ndocker run -d -p 8080:8080 leech001/process-metrics-exporter ./procheck -update 5 -port 8080 test1 test2 test3\n```\n\nmetrics are available at\n\n```\nhttp://localhost:8080/metrics\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleech001%2Fprocess_metrics_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleech001%2Fprocess_metrics_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleech001%2Fprocess_metrics_exporter/lists"}