Skip to content

Commit 5d81b9b

Browse files
committed
Add README
1 parent ac86d5a commit 5d81b9b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## process_exporter
2+
3+
Makes available the following metrics for Prometheus for processes matching a given name:
4+
5+
- CPU usage
6+
- RAM usage
7+
- Swap usage
8+
- Disk IO (bytes)
9+
- Disk IO (count)
10+
11+
### Building
12+
13+
```sh
14+
./build.sh
15+
```
16+
17+
### Usage
18+
19+
```sh
20+
./process_exporter -namespace # Prometheus metric namespace
21+
-binary # Name of binary to monitor
22+
-nameflag # Infer value of "name"-label from value of this command line flag of monitored process
23+
-port # Port to listen on for request (default: 80)
24+
-interval # Interval between metrics being refreshed (default: 10 seconds)
25+
```
26+
27+
### TODO
28+
29+
- Network IO.

0 commit comments

Comments
 (0)