{"id":22892391,"url":"https://github.com/b4fun/prom-snapshot","last_synced_at":"2025-03-31T22:10:23.212Z","repository":{"id":57541387,"uuid":"291382144","full_name":"b4fun/prom-snapshot","owner":"b4fun","description":"Prometheus snapshot(s) viewer.","archived":false,"fork":false,"pushed_at":"2021-12-05T09:44:54.000Z","size":118,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T14:03:20.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b4fun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"bcho","patreon":"artofhbc","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-08-30T02:05:28.000Z","updated_at":"2021-12-05T09:45:03.000Z","dependencies_parsed_at":"2022-09-15T01:01:24.068Z","dependency_job_id":null,"html_url":"https://github.com/b4fun/prom-snapshot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4fun%2Fprom-snapshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4fun%2Fprom-snapshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4fun%2Fprom-snapshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4fun%2Fprom-snapshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b4fun","download_url":"https://codeload.github.com/b4fun/prom-snapshot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246547366,"owners_count":20794970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T22:59:47.626Z","updated_at":"2025-03-31T22:10:23.190Z","avatar_url":"https://github.com/b4fun.png","language":"Go","funding_links":["https://github.com/sponsors/bcho","https://patreon.com/artofhbc"],"categories":[],"sub_categories":[],"readme":"# prom-snapshot\n\nPrometheus snapshot(s) viewer.\n\n| Resource | Link |\n|:----|:----|\n| Reference | [![API](https://godoc.org/github.com/b4fun/prom-snapshot?status.svg)](https://pkg.go.dev/github.com/b4fun/prom-snapshot?tab=overview) |\n| Docker Image | [![Docker Build Status](https://img.shields.io/docker/build/b4fun/prom-snapshot-server)](https://hub.docker.com/r/b4fun/prom-snapshot-server) |\n\n## Usage\n\n### Host multiple prometheus data snapshot with v1 api\n\n```\n$ server -s snapshot1=/path/to/snapshot1 --snapshot snapshot2=/path/to/snapshot2\n```\n\n```\n$ curl http://127.0.0.1:8080/snapshot1/api/v1/metadata\n{\"status\":\"success\",\"data\":{}}\n$ curl http://127.0.0.1:8080/snapshot2/api/v1/metadata\n{\"status\":\"success\",\"data\":{}}\n```\n\n## TODO\n\n**server**\n\n- [ ] kubernetes spec\n- [ ] e2e usage example\n- [ ] bundle grafana?\n- [ ] (long term) download snapshot from remote\n\n**snapshot-sidecar**\n\n- [ ] kubernetes spec\n\n## LICENSE\n\nMIT\n\n---\n\na [@b4fun][@b4fun] project\n\n[@b4fun]: https://www.build4.fun\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb4fun%2Fprom-snapshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb4fun%2Fprom-snapshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb4fun%2Fprom-snapshot/lists"}