https://github.com/b4fun/prom-snapshot
Prometheus snapshot(s) viewer.
https://github.com/b4fun/prom-snapshot
Last synced: about 1 year ago
JSON representation
Prometheus snapshot(s) viewer.
- Host: GitHub
- URL: https://github.com/b4fun/prom-snapshot
- Owner: b4fun
- License: mit
- Created: 2020-08-30T02:05:28.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2021-12-05T09:44:54.000Z (over 4 years ago)
- Last Synced: 2025-03-05T14:03:20.208Z (over 1 year ago)
- Language: Go
- Size: 115 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# prom-snapshot
Prometheus snapshot(s) viewer.
| Resource | Link |
|:----|:----|
| Reference | [](https://pkg.go.dev/github.com/b4fun/prom-snapshot?tab=overview) |
| Docker Image | [](https://hub.docker.com/r/b4fun/prom-snapshot-server) |
## Usage
### Host multiple prometheus data snapshot with v1 api
```
$ server -s snapshot1=/path/to/snapshot1 --snapshot snapshot2=/path/to/snapshot2
```
```
$ curl http://127.0.0.1:8080/snapshot1/api/v1/metadata
{"status":"success","data":{}}
$ curl http://127.0.0.1:8080/snapshot2/api/v1/metadata
{"status":"success","data":{}}
```
## TODO
**server**
- [ ] kubernetes spec
- [ ] e2e usage example
- [ ] bundle grafana?
- [ ] (long term) download snapshot from remote
**snapshot-sidecar**
- [ ] kubernetes spec
## LICENSE
MIT
---
a [@b4fun][@b4fun] project
[@b4fun]: https://www.build4.fun