https://github.com/atompi/mpsbot
Scan keys and generate Prometheus scrape configs.
https://github.com/atompi/mpsbot
Last synced: about 1 year ago
JSON representation
Scan keys and generate Prometheus scrape configs.
- Host: GitHub
- URL: https://github.com/atompi/mpsbot
- Owner: atompi
- License: apache-2.0
- Created: 2024-12-16T10:16:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-19T03:08:28.000Z (over 1 year ago)
- Last Synced: 2025-04-12T23:49:20.762Z (about 1 year ago)
- Language: Go
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mpsbot
[metrics-post-station](https://github.com/atompi/metrics-post-station) bot
Scan keys and generate Prometheus scrape configs.
A tool that iterates over Redis keys and generates Prometheus scrape configuration files.
## Build
```
go build -ldflags '-s -w' -o examples/mpsbot
```
## Usage
```
mkdir /app/mpsbot
cp examples/mpsbot /app/mpsbot
chmod +x /app/mpsbot/mpsbot
cat > /app/mpsbot/mpsbot.yaml <