Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/honza/promprobe
https://github.com/honza/promprobe
Last synced: about 8 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/honza/promprobe
- Owner: honza
- License: gpl-3.0
- Created: 2021-04-14T18:04:41.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-14T18:05:20.000Z (over 3 years ago)
- Last Synced: 2024-04-16T01:44:55.827Z (7 months ago)
- Language: Go
- Size: 27.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
promprobe
=========*Prometheus Probe*
```
$ ./promprobe --help
Prometheus ProberUsage:
promprobe [flags]
promprobe [command]Available Commands:
cpu
help Help about any command
memoryFlags:
--config string config file
-h, --help help for promprobeUse "promprobe [command] --help" for more information about a command.
```Compiling:
```
$ git clone https://github.com/honza/promprobe
$ cd promprobe
$ go build -o promprobe main.go
$ # Create a config.yaml
$ ./promprobe memory --config config.yaml
```config.yaml:
``` yaml
---
token: sha256~...
host: https://console-openshift-console.apps.ostest.test.metalkube.org
pod: some-pod
containers:
- some-container-1
- some-container-2
...
```Sample output:
```
| CONTAINER | VALUE | MB |
|-------------------------------|---------------|---------|
| some-container-1 | 4395008 | 4.19 |
| some-container-2 | 4546560 | 4.34 |
```