init
This commit is contained in:
20
README.md
Normal file
20
README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Simple Metrics Generator
|
||||
|
||||
Simple Prometheus metrics generator.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
cat metadata | generate_metrics tempurature 50
|
||||
```
|
||||
|
||||
with your metadata file looking something like
|
||||
|
||||
```
|
||||
unit="F", computer="computer5"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
From here you could then redirect stdout into a file, then host the file with something like Caddy for Prometheus to scrape.
|
||||
|
||||
Reference in New Issue
Block a user