بنقرة واحدة
rebase
Check upstream restic-exporter for metric, label, or env var changes and report differences.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Check upstream restic-exporter for metric, label, or env var changes and report differences.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | rebase |
| description | Check upstream restic-exporter for metric, label, or env var changes and report differences. |
| disable-model-invocation | false |
| context | fork |
| agent | Explore |
This project is a Go port of ngosang/restic-exporter, which is written in Python. The primary goal is metric compatibility — same metric names, labels, and environment variables — so existing Grafana dashboards and alerting rules work without modification.
We do not need to match implementation details, code structure, or Python idioms. Only the public interface matters.
gh api repos/ngosang/restic-exporter/contents/exporter/exporter.py --jq '.content' | base64 -d
Report the differences only. Do not make changes. Organize the report as:
exporter/exporter.py in the upstream repo.grafana/grafana_dashboard.json in the upstream repo. Metric names and labels must match for it to work.These differences are by design and should not be reported as discrepancies:
--listen-port, --listen-address, --refresh-interval, --include-paths, and --version as command-line flags. Upstream is env-var-only.LISTEN_PID, LISTEN_FDS, and LISTEN_FDNAMES for systemd socket activation. These are Go-specific and have no upstream equivalent.9183 instead of upstream's 8001 — 8001 is too common a port.[::] (IPv6 dual-stack) instead of upstream's 0.0.0.0 (IPv4 only) — better dual-stack support.RESTIC_EXPORTER_ prefix on all exporter-specific env vars (e.g. RESTIC_EXPORTER_LISTEN_PORT instead of upstream's LISTEN_PORT) to avoid conflicts with other software.