21 lines
355 B
Markdown
21 lines
355 B
Markdown
# 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.
|
|
|