Sign inSign up

leech001/process-metrics-exporter

By leech001

•Updated almost 4 years ago

Prometheus process metrics exporter

Image
0

695

leech001/process-metrics-exporter repository overview

⁠Prometheus process metrics exporter

GitHub Workflow Status (branch) GitHub Docker License: WTFPL

⁠GO application for counting the number of running processes and forming the corresponding metrics for Prometheus (Alpine Linux images)

The 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

Download prepared image with application

docker pull leech001/process-metrics-exporter

or start it at once

docker run -d -p 8080:8080 leech001/process-metrics-exporter ./procheck -update 5 -port 8080 test1 test2 test3

where:

  • "procheck" - application name;

  • "-update 5" - metrics refresh period on sec;

  • "-port 8080" - port where metrics are fed;

  • "test1...3" - names of processes.

metrics are available at

http://localhost:8080/metrics

Tag summary

Content type

Image

Digest

sha256:39eb34558…

Size

7.2 MB

Last updated

almost 4 years ago

docker pull leech001/process-metrics-exporter