{"id":49991848,"url":"https://github.com/squat/llama-swap-exporter","last_synced_at":"2026-05-19T05:10:22.082Z","repository":{"id":357022170,"uuid":"1232846612","full_name":"squat/llama-swap-exporter","owner":"squat","description":"A Prometheus exporter for llama-swap and the underlying llama.cpp model servers, providing metrics for model state, token usage, etc.","archived":false,"fork":false,"pushed_at":"2026-05-10T23:45:33.000Z","size":2052,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-11T01:31:30.874Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-08T10:33:21.000Z","updated_at":"2026-05-10T23:45:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/squat/llama-swap-exporter","commit_stats":null,"previous_names":["squat/llama-swap-exporter"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/squat/llama-swap-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fllama-swap-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fllama-swap-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fllama-swap-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fllama-swap-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squat","download_url":"https://codeload.github.com/squat/llama-swap-exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fllama-swap-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33203116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-05-19T05:10:18.860Z","updated_at":"2026-05-19T05:10:22.071Z","avatar_url":"https://github.com/squat.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus llama-swap Exporter\n\nA Prometheus exporter for [llama-swap](https://github.com/mostlygeek/llama-swap) and the underlying [llama.cpp](https://github.com/ggml-org/llama.cpp) model servers, providing metrics for model state, token usage, etc.\n\n[![Build Status](https://github.com/squat/llama-swap-exporter/workflows/CI/badge.svg)](https://github.com/squat/llama-swap-exporter/actions?query=workflow%3ACI)\n[![Go Report Card](https://goreportcard.com/badge/github.com/squat/llama-swap-exporter)](https://goreportcard.com/report/github.com/squat/llama-swap-exporter)\n[![Built with Nix](https://img.shields.io/static/v1?logo=nixos\u0026logoColor=white\u0026label=\u0026message=Built%20with%20Nix\u0026color=41439a)](https://builtwithnix.org)\n\n## Prometheus Configuration\n\nAdd the following to your `prometheus.yml`:\n\n```yaml\nscrape_configs:\n  - job_name: llama-swap-exporter\n    static_configs:\n     - targets: [localhost:9293]\n    scrape_interval: 30s\n    metrics_path: /metrics\n```\n\n## Metrics\n\nYou can find the full list of metrics in the [METRICS.md](./docs/METRICS.md) file.\n\n## Usage\n\n[embedmd]:# (help.txt)\n```txt\nUsage of llama-swap-exporter:\n  -api-key string\n    \tBearer token to authenticate against llama-swap; can be provided with the LLAMA_SWAP_EXPORTER_API_KEY environment variable\n  -metrics-path string\n    \tHTTP path on which to serve metrics (default \"/metrics\")\n  -scrape.timeout duration\n    \tPer-target scrape timeout (default 10s)\n  -upstream string\n    \tComma-separated llama-swap base URLs\n  -version\n    \tPrint the version of llama-swap-exporter and exit\n  -web.listen-address string\n    \tAddress on which to serve metrics (default \":9293\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquat%2Fllama-swap-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquat%2Fllama-swap-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquat%2Fllama-swap-exporter/lists"}