Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 686 Bytes

File metadata and controls

26 lines (16 loc) · 686 Bytes

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

This is a Prometheus exporter for Restic backup systems, written in Go. It periodically queries a Restic repository and exposes backup metrics (snapshot counts, sizes, timestamps, repository health) via HTTP for Prometheus to scrape.

Development Commands

Build

make build              # Build binary to bin/restic-exporter

Test

make test               # Run all tests with verbose output (go test -v ./...)

Notes

  • don't run go build and leave the build artifacts on the repository
  • use python3 not python